Flutter Engine
FlutterWindowMetricsEvent Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of this struct. Must be sizeof(FlutterWindowMetricsEvent). More...
 
size_t width
 Physical width of the window. More...
 
size_t height
 Physical height of the window. More...
 
double pixel_ratio
 Scale factor for the physical screen. More...
 
size_t left
 Horizontal physical location of the left side of the window on the screen. More...
 
size_t top
 Vertical physical location of the top of the window on the screen. More...
 
double physical_view_inset_top
 Top inset of window. More...
 
double physical_view_inset_right
 Right inset of window. More...
 
double physical_view_inset_bottom
 Bottom inset of window. More...
 
double physical_view_inset_left
 Left inset of window. More...
 

Detailed Description

Definition at line 563 of file embedder.h.

Member Data Documentation

◆ height

size_t FlutterWindowMetricsEvent::height

Physical height of the window.

Definition at line 569 of file embedder.h.

Referenced by TEST().

◆ left

size_t FlutterWindowMetricsEvent::left

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

Definition at line 573 of file embedder.h.

◆ physical_view_inset_bottom

double FlutterWindowMetricsEvent::physical_view_inset_bottom

Bottom inset of window.

Definition at line 581 of file embedder.h.

◆ physical_view_inset_left

double FlutterWindowMetricsEvent::physical_view_inset_left

Left inset of window.

Definition at line 583 of file embedder.h.

◆ physical_view_inset_right

double FlutterWindowMetricsEvent::physical_view_inset_right

Right inset of window.

Definition at line 579 of file embedder.h.

◆ physical_view_inset_top

double FlutterWindowMetricsEvent::physical_view_inset_top

Top inset of window.

Definition at line 577 of file embedder.h.

◆ pixel_ratio

double FlutterWindowMetricsEvent::pixel_ratio

Scale factor for the physical screen.

Definition at line 571 of file embedder.h.

Referenced by TEST().

◆ struct_size

size_t FlutterWindowMetricsEvent::struct_size

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

Definition at line 565 of file embedder.h.

Referenced by fl_engine_send_window_metrics_event(), GLFWwindowSizeCallback(), flutter::FlutterWindowsView::OnResetImeComposing(), SendWindowMetrics(), and flutter::testing::TEST_F().

◆ top

size_t FlutterWindowMetricsEvent::top

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

Definition at line 575 of file embedder.h.

◆ width

size_t FlutterWindowMetricsEvent::width

Physical width of the window.

Definition at line 567 of file embedder.h.

Referenced by TEST().


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