| Flutter macOS Embedder |

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

`#include <FlutterWindowController.h>`

## Static Public Member Functions
static FlutterWindowSize | fromNSSize (const NSSize &size)

## Public Attributes
double | width
double | height

## Detailed Description

Definition at line 41 of file FlutterWindowController.h.

## Member Function Documentation

## ◆ fromNSSize()

static FlutterWindowSize FlutterWindowSize::fromNSSize | ( | const NSSize & | size | ) |
| inline static

Definition at line 45 of file FlutterWindowController.h.

45 {
46 return {
47 size.width,
48 size.height,
49 };
50 }

References width.

## Member Data Documentation

## ◆ height

double FlutterWindowSize::height

Definition at line 43 of file FlutterWindowController.h.

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

## ◆ width

double FlutterWindowSize::width

Definition at line 42 of file FlutterWindowController.h.

Referenced by fromNSSize(), InternalFlutter_Window_GetContentSize(), and flutter::testing::TEST_F().

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

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