Flutter Engine
The Flutter Engine
|
#include <display.h>
Public Member Functions | |
Display (DisplayId display_id, double refresh_rate, double width, double height, double device_pixel_ratio) | |
Construct a new Display object in case where the display id of the display is known. More... | |
virtual | ~Display ()=default |
virtual double | GetRefreshRate () const |
DisplayId | GetDisplayId () const |
Returns the DisplayId of the display. More... | |
virtual double | GetWidth () const |
The width of the display in physical pixels. More... | |
virtual double | GetHeight () const |
The height of the display in physical pixels. More... | |
virtual double | GetDevicePixelRatio () const |
The device pixel ratio of the display. More... | |
DisplayData | GetDisplayData () |
Display refers to a graphics hardware system consisting of a framebuffer, typically a monitor or a screen. This class holds the various display settings.
|
inline |
|
virtualdefault |
|
inlinevirtual |
The device pixel ratio of the display.
Reimplemented in flutter::AndroidDisplay.
Definition at line 67 of file display.h.
|
inline |
Definition at line 69 of file display.h.
|
inline |
|
inlinevirtual |
The height of the display in physical pixels.
Reimplemented in flutter::AndroidDisplay.
Definition at line 64 of file display.h.
|
virtual |
Reimplemented in flutter::VariableRefreshRateDisplay, and flutter::AndroidDisplay.
Definition at line 8 of file display.cc.
|
inlinevirtual |
The width of the display in physical pixels.
Reimplemented in flutter::AndroidDisplay.
Definition at line 61 of file display.h.