| Flutter macOS Embedder |

Static Public Member Functions | Public Attributes | List of all members
FlutterWindowOffset Struct Reference

`#include <FlutterWindowController.h>`

## Static Public Member Functions
static FlutterWindowOffset | fromNSPoint (const NSPoint &point)

## Public Attributes
double | x
double | y

## Detailed Description

Definition at line 53 of file FlutterWindowController.h.

## Member Function Documentation

## ◆ fromNSPoint()

static FlutterWindowOffset FlutterWindowOffset::fromNSPoint | ( | const NSPoint & | point | ) |
| inline static

Definition at line 57 of file FlutterWindowController.h.

57 {
58 return {
59 point.x,
60 point.y,
61 };
62 }

References x.

## Member Data Documentation

## ◆ x

double FlutterWindowOffset::x

Definition at line 54 of file FlutterWindowController.h.

Referenced by fromNSPoint(), and flutter::testing::TEST_F().

## ◆ y

double FlutterWindowOffset::y

Definition at line 55 of file FlutterWindowController.h.

Referenced by flutter::testing::TEST_F().

The documentation for this struct was generated from the following file:

- shell/platform/darwin/macos/framework/Source/FlutterWindowController.h