Flutter Engine
The Flutter Engine
|
#include <embedder.h>
Public Attributes | |
size_t | struct_size |
This size of this struct. Must be sizeof(FlutterDisplay). | |
FlutterEngineDisplayId | display_id |
bool | single_display |
double | refresh_rate |
size_t | width |
The width of the display, in physical pixels. | |
size_t | height |
The height of the display, in physical pixels. | |
double | device_pixel_ratio |
Definition at line 1969 of file embedder.h.
double FlutterEngineDisplay::device_pixel_ratio |
The pixel ratio of the display, which is used to convert physical pixels to logical pixels.
Definition at line 1993 of file embedder.h.
FlutterEngineDisplayId FlutterEngineDisplay::display_id |
Definition at line 1973 of file embedder.h.
size_t FlutterEngineDisplay::height |
The height of the display, in physical pixels.
Definition at line 1989 of file embedder.h.
double FlutterEngineDisplay::refresh_rate |
This represents the refresh period in frames per second. This value may be zero if the device is not running or unavailable or unknown.
Definition at line 1983 of file embedder.h.
bool FlutterEngineDisplay::single_display |
This is set to true if the embedder only has one display. In cases where this is set to true, the value of display_id is ignored. In cases where this is not set to true, it is expected that a valid display_id be provided.
Definition at line 1979 of file embedder.h.
size_t FlutterEngineDisplay::struct_size |
This size of this struct. Must be sizeof(FlutterDisplay).
Definition at line 1971 of file embedder.h.
size_t FlutterEngineDisplay::width |
The width of the display, in physical pixels.
Definition at line 1986 of file embedder.h.