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...
 

Detailed Description

Definition at line 455 of file embedder.h.

Member Data Documentation

◆ height

size_t FlutterWindowMetricsEvent::height

Physical height of the window.

Definition at line 461 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 465 of file embedder.h.

◆ pixel_ratio

double FlutterWindowMetricsEvent::pixel_ratio

Scale factor for the physical screen.

Definition at line 463 of file embedder.h.

◆ struct_size

size_t FlutterWindowMetricsEvent::struct_size

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

Definition at line 457 of file embedder.h.

Referenced by fl_engine_send_window_metrics_event(), GLFWwindowSizeCallback(), flutter::FlutterWindowsView::OnScroll(), 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 467 of file embedder.h.

◆ width

size_t FlutterWindowMetricsEvent::width

Physical width of the window.

Definition at line 459 of file embedder.h.


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