Flutter Engine
The Flutter Engine
|
#include <pointer_data_packet_converter.h>
Public Attributes | |
int64_t | pointer_identifier |
bool | is_down |
bool | is_pan_zoom_active |
double | physical_x |
double | physical_y |
double | pan_x |
double | pan_y |
double | scale |
double | rotation |
int64_t | buttons |
The current information about a pointer.
This struct is used by PointerDataPacketConverter to fill in necessary information for the raw pointer packet sent from embedding. This struct also stores the button state of the last pointer down, up, move, or hover event. When an embedder issues a pointer up or down event where the pointer's position has changed since the last move or hover event, PointerDataPacketConverter generates a synthetic move or hover to notify the framework. In these cases, these events must be issued with the button state prior to the pointer up or down.
Definition at line 30 of file pointer_data_packet_converter.h.
int64_t flutter::PointerState::buttons |
Definition at line 40 of file pointer_data_packet_converter.h.
bool flutter::PointerState::is_down |
Definition at line 32 of file pointer_data_packet_converter.h.
bool flutter::PointerState::is_pan_zoom_active |
Definition at line 33 of file pointer_data_packet_converter.h.
double flutter::PointerState::pan_x |
Definition at line 36 of file pointer_data_packet_converter.h.
double flutter::PointerState::pan_y |
Definition at line 37 of file pointer_data_packet_converter.h.
double flutter::PointerState::physical_x |
Definition at line 34 of file pointer_data_packet_converter.h.
double flutter::PointerState::physical_y |
Definition at line 35 of file pointer_data_packet_converter.h.
int64_t flutter::PointerState::pointer_identifier |
Definition at line 31 of file pointer_data_packet_converter.h.
double flutter::PointerState::rotation |
Definition at line 39 of file pointer_data_packet_converter.h.
double flutter::PointerState::scale |
Definition at line 38 of file pointer_data_packet_converter.h.