Flutter Engine
The Flutter Engine
|
#include <embedder.h>
Public Attributes | |
size_t | struct_size |
The size of this struct. Must be sizeof(FlutterPointerEvent). More... | |
FlutterPointerPhase | phase |
size_t | timestamp |
double | x |
The x coordinate of the pointer event in physical pixels. More... | |
double | y |
The y coordinate of the pointer event in physical pixels. More... | |
int32_t | device |
FlutterPointerSignalKind | signal_kind |
double | scroll_delta_x |
The x offset of the scroll in physical pixels. More... | |
double | scroll_delta_y |
The y offset of the scroll in physical pixels. More... | |
FlutterPointerDeviceKind | device_kind |
int64_t | buttons |
The buttons currently pressed, if any. More... | |
double | pan_x |
The x offset of the pan/zoom in physical pixels. More... | |
double | pan_y |
The y offset of the pan/zoom in physical pixels. More... | |
double | scale |
The scale of the pan/zoom, where 1.0 is the initial scale. More... | |
double | rotation |
The rotation of the pan/zoom in radians, where 0.0 is the initial angle. More... | |
FlutterViewId | view_id |
The identifier of the view that received the pointer event. More... | |
Definition at line 1034 of file embedder.h.
int64_t FlutterPointerEvent::buttons |
The buttons currently pressed, if any.
Definition at line 1061 of file embedder.h.
int32_t FlutterPointerEvent::device |
An optional device identifier. If this is not specified, it is assumed that the embedder has no multi-touch capability.
Definition at line 1048 of file embedder.h.
FlutterPointerDeviceKind FlutterPointerEvent::device_kind |
The type of the device generating this event. Backwards compatibility note: If this is not set, the device will be treated as a mouse, with the primary button set for kDown
and kMove
. If set explicitly to kFlutterPointerDeviceKindMouse
, you must set the correct buttons.
Definition at line 1059 of file embedder.h.
double FlutterPointerEvent::pan_x |
The x offset of the pan/zoom in physical pixels.
Definition at line 1063 of file embedder.h.
double FlutterPointerEvent::pan_y |
The y offset of the pan/zoom in physical pixels.
Definition at line 1065 of file embedder.h.
FlutterPointerPhase FlutterPointerEvent::phase |
Definition at line 1037 of file embedder.h.
double FlutterPointerEvent::rotation |
The rotation of the pan/zoom in radians, where 0.0 is the initial angle.
Definition at line 1069 of file embedder.h.
double FlutterPointerEvent::scale |
The scale of the pan/zoom, where 1.0 is the initial scale.
Definition at line 1067 of file embedder.h.
double FlutterPointerEvent::scroll_delta_x |
The x offset of the scroll in physical pixels.
Definition at line 1051 of file embedder.h.
double FlutterPointerEvent::scroll_delta_y |
The y offset of the scroll in physical pixels.
Definition at line 1053 of file embedder.h.
FlutterPointerSignalKind FlutterPointerEvent::signal_kind |
Definition at line 1049 of file embedder.h.
size_t FlutterPointerEvent::struct_size |
The size of this struct. Must be sizeof(FlutterPointerEvent).
Definition at line 1036 of file embedder.h.
size_t FlutterPointerEvent::timestamp |
The timestamp at which the pointer event was generated. The timestamp should be specified in microseconds and the clock should be the same as that used by FlutterEngineGetCurrentTime
.
Definition at line 1041 of file embedder.h.
FlutterViewId FlutterPointerEvent::view_id |
The identifier of the view that received the pointer event.
Definition at line 1071 of file embedder.h.
double FlutterPointerEvent::x |
The x coordinate of the pointer event in physical pixels.
Definition at line 1043 of file embedder.h.
double FlutterPointerEvent::y |
The y coordinate of the pointer event in physical pixels.
Definition at line 1045 of file embedder.h.