Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Attributes | List of all members
FlutterEngineDisplay Struct Reference

#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
 

Detailed Description

Definition at line 1969 of file embedder.h.

Member Data Documentation

◆ device_pixel_ratio

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.

◆ display_id

FlutterEngineDisplayId FlutterEngineDisplay::display_id

Definition at line 1973 of file embedder.h.

◆ height

size_t FlutterEngineDisplay::height

The height of the display, in physical pixels.

Definition at line 1989 of file embedder.h.

◆ refresh_rate

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.

◆ single_display

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.

◆ struct_size

size_t FlutterEngineDisplay::struct_size

This size of this struct. Must be sizeof(FlutterDisplay).

Definition at line 1971 of file embedder.h.

◆ width

size_t FlutterEngineDisplay::width

The width of the display, in physical pixels.

Definition at line 1986 of file embedder.h.


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