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

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of this struct. Must be sizeof(FlutterWindowMetricsEvent).
 
size_t width
 Physical width of the window.
 
size_t height
 Physical height of the window.
 
double pixel_ratio
 Scale factor for the physical screen.
 
size_t left
 Horizontal physical location of the left side of the window on the screen.
 
size_t top
 Vertical physical location of the top of the window on the screen.
 
double physical_view_inset_top
 Top inset of window.
 
double physical_view_inset_right
 Right inset of window.
 
double physical_view_inset_bottom
 Bottom inset of window.
 
double physical_view_inset_left
 Left inset of window.
 
FlutterEngineDisplayId display_id
 The identifier of the display the view is rendering on.
 
int64_t view_id
 The view that this event is describing.
 

Detailed Description

Definition at line 839 of file embedder.h.

Member Data Documentation

◆ display_id

FlutterEngineDisplayId FlutterWindowMetricsEvent::display_id

The identifier of the display the view is rendering on.

Definition at line 861 of file embedder.h.

◆ height

size_t FlutterWindowMetricsEvent::height

Physical height of the window.

Definition at line 845 of file embedder.h.

◆ left

size_t FlutterWindowMetricsEvent::left

Horizontal physical location of the left side of the window on the screen.

Definition at line 849 of file embedder.h.

◆ physical_view_inset_bottom

double FlutterWindowMetricsEvent::physical_view_inset_bottom

Bottom inset of window.

Definition at line 857 of file embedder.h.

◆ physical_view_inset_left

double FlutterWindowMetricsEvent::physical_view_inset_left

Left inset of window.

Definition at line 859 of file embedder.h.

◆ physical_view_inset_right

double FlutterWindowMetricsEvent::physical_view_inset_right

Right inset of window.

Definition at line 855 of file embedder.h.

◆ physical_view_inset_top

double FlutterWindowMetricsEvent::physical_view_inset_top

Top inset of window.

Definition at line 853 of file embedder.h.

◆ pixel_ratio

double FlutterWindowMetricsEvent::pixel_ratio

Scale factor for the physical screen.

Definition at line 847 of file embedder.h.

◆ struct_size

size_t FlutterWindowMetricsEvent::struct_size

The size of this struct. Must be sizeof(FlutterWindowMetricsEvent).

Definition at line 841 of file embedder.h.

◆ top

size_t FlutterWindowMetricsEvent::top

Vertical physical location of the top of the window on the screen.

Definition at line 851 of file embedder.h.

◆ view_id

int64_t FlutterWindowMetricsEvent::view_id

The view that this event is describing.

Definition at line 863 of file embedder.h.

◆ width

size_t FlutterWindowMetricsEvent::width

Physical width of the window.

Definition at line 843 of file embedder.h.


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