Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Public Attributes | List of all members
flutter::PointerData Struct Reference

#include <pointer_data.h>

Public Types

enum class  Change : int64_t {
  kCancel , kAdd , kRemove , kHover ,
  kDown , kMove , kUp , kPanZoomStart ,
  kPanZoomUpdate , kPanZoomEnd
}
 
enum class  DeviceKind : int64_t {
  kTouch , kMouse , kStylus , kInvertedStylus ,
  kTrackpad
}
 
enum class  SignalKind : int64_t { kNone , kScroll , kScrollInertiaCancel , kScale }
 

Public Member Functions

void Clear ()
 

Public Attributes

int64_t embedder_id
 
int64_t time_stamp
 
Change change
 
DeviceKind kind
 
SignalKind signal_kind
 
int64_t device
 
int64_t pointer_identifier
 
double physical_x
 
double physical_y
 
double physical_delta_x
 
double physical_delta_y
 
int64_t buttons
 
int64_t obscured
 
int64_t synthesized
 
double pressure
 
double pressure_min
 
double pressure_max
 
double distance
 
double distance_max
 
double size
 
double radius_major
 
double radius_minor
 
double radius_min
 
double radius_max
 
double orientation
 
double tilt
 
int64_t platformData
 
double scroll_delta_x
 
double scroll_delta_y
 
double pan_x
 
double pan_y
 
double pan_delta_x
 
double pan_delta_y
 
double scale
 
double rotation
 
int64_t view_id
 

Detailed Description

Definition at line 38 of file pointer_data.h.

Member Enumeration Documentation

◆ Change

enum class flutter::PointerData::Change : int64_t
strong
Enumerator
kCancel 
kAdd 
kRemove 
kHover 
kDown 
kMove 
kUp 
kPanZoomStart 
kPanZoomUpdate 
kPanZoomEnd 

Definition at line 40 of file pointer_data.h.

40 : int64_t {
41 kCancel,
42 kAdd,
43 kRemove,
44 kHover,
45 kDown,
46 kMove,
47 kUp,
51 };
@ kPanZoomUpdate
The pan/zoom updated.
Definition: embedder.h:1001
@ kHover
The pointer moved while up.
Definition: embedder.h:997
@ kUp
Definition: embedder.h:973
@ kPanZoomStart
A pan/zoom started on this pointer.
Definition: embedder.h:999
@ kRemove
Definition: embedder.h:995
@ kCancel
Definition: embedder.h:966
@ kDown
Definition: embedder.h:980
@ kAdd
Definition: embedder.h:990
@ kMove
Definition: embedder.h:985
@ kPanZoomEnd
The pan/zoom ended.
Definition: embedder.h:1003

◆ DeviceKind

enum class flutter::PointerData::DeviceKind : int64_t
strong
Enumerator
kTouch 
kMouse 
kStylus 
kInvertedStylus 
kTrackpad 

Definition at line 54 of file pointer_data.h.

54 : int64_t {
55 kTouch,
56 kMouse,
57 kStylus,
58 kInvertedStylus,
59 kTrackpad,
60 };

◆ SignalKind

enum class flutter::PointerData::SignalKind : int64_t
strong
Enumerator
kNone 
kScroll 
kScrollInertiaCancel 
kScale 

Definition at line 63 of file pointer_data.h.

63 : int64_t {
64 kNone,
65 kScroll,
66 kScrollInertiaCancel,
67 kScale,
68 };
@ kNone
Definition: layer.h:53

Member Function Documentation

◆ Clear()

void flutter::PointerData::Clear ( )

Definition at line 25 of file pointer_data.cc.

25 {
26 memset(this, 0, sizeof(PointerData));
27}

Member Data Documentation

◆ buttons

int64_t flutter::PointerData::buttons

Definition at line 81 of file pointer_data.h.

◆ change

Change flutter::PointerData::change

Definition at line 72 of file pointer_data.h.

◆ device

int64_t flutter::PointerData::device

Definition at line 75 of file pointer_data.h.

◆ distance

double flutter::PointerData::distance

Definition at line 87 of file pointer_data.h.

◆ distance_max

double flutter::PointerData::distance_max

Definition at line 88 of file pointer_data.h.

◆ embedder_id

int64_t flutter::PointerData::embedder_id

Definition at line 70 of file pointer_data.h.

◆ kind

DeviceKind flutter::PointerData::kind

Definition at line 73 of file pointer_data.h.

◆ obscured

int64_t flutter::PointerData::obscured

Definition at line 82 of file pointer_data.h.

◆ orientation

double flutter::PointerData::orientation

Definition at line 94 of file pointer_data.h.

◆ pan_delta_x

double flutter::PointerData::pan_delta_x

Definition at line 101 of file pointer_data.h.

◆ pan_delta_y

double flutter::PointerData::pan_delta_y

Definition at line 102 of file pointer_data.h.

◆ pan_x

double flutter::PointerData::pan_x

Definition at line 99 of file pointer_data.h.

◆ pan_y

double flutter::PointerData::pan_y

Definition at line 100 of file pointer_data.h.

◆ physical_delta_x

double flutter::PointerData::physical_delta_x

Definition at line 79 of file pointer_data.h.

◆ physical_delta_y

double flutter::PointerData::physical_delta_y

Definition at line 80 of file pointer_data.h.

◆ physical_x

double flutter::PointerData::physical_x

Definition at line 77 of file pointer_data.h.

◆ physical_y

double flutter::PointerData::physical_y

Definition at line 78 of file pointer_data.h.

◆ platformData

int64_t flutter::PointerData::platformData

Definition at line 96 of file pointer_data.h.

◆ pointer_identifier

int64_t flutter::PointerData::pointer_identifier

Definition at line 76 of file pointer_data.h.

◆ pressure

double flutter::PointerData::pressure

Definition at line 84 of file pointer_data.h.

◆ pressure_max

double flutter::PointerData::pressure_max

Definition at line 86 of file pointer_data.h.

◆ pressure_min

double flutter::PointerData::pressure_min

Definition at line 85 of file pointer_data.h.

◆ radius_major

double flutter::PointerData::radius_major

Definition at line 90 of file pointer_data.h.

◆ radius_max

double flutter::PointerData::radius_max

Definition at line 93 of file pointer_data.h.

◆ radius_min

double flutter::PointerData::radius_min

Definition at line 92 of file pointer_data.h.

◆ radius_minor

double flutter::PointerData::radius_minor

Definition at line 91 of file pointer_data.h.

◆ rotation

double flutter::PointerData::rotation

Definition at line 104 of file pointer_data.h.

◆ scale

double flutter::PointerData::scale

Definition at line 103 of file pointer_data.h.

◆ scroll_delta_x

double flutter::PointerData::scroll_delta_x

Definition at line 97 of file pointer_data.h.

◆ scroll_delta_y

double flutter::PointerData::scroll_delta_y

Definition at line 98 of file pointer_data.h.

◆ signal_kind

SignalKind flutter::PointerData::signal_kind

Definition at line 74 of file pointer_data.h.

◆ size

double flutter::PointerData::size

Definition at line 89 of file pointer_data.h.

◆ synthesized

int64_t flutter::PointerData::synthesized

Definition at line 83 of file pointer_data.h.

◆ tilt

double flutter::PointerData::tilt

Definition at line 95 of file pointer_data.h.

◆ time_stamp

int64_t flutter::PointerData::time_stamp

Definition at line 71 of file pointer_data.h.

◆ view_id

int64_t flutter::PointerData::view_id

Definition at line 105 of file pointer_data.h.


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