Flutter Engine
flutter::PointerData Struct Reference

#include <pointer_data.h>

Public Types

enum  Change : int64_t {
  Change::kCancel,
  Change::kAdd,
  Change::kRemove,
  Change::kHover,
  Change::kDown,
  Change::kMove,
  Change::kUp
}
 
enum  DeviceKind : int64_t {
  DeviceKind::kTouch,
  DeviceKind::kMouse,
  DeviceKind::kStylus,
  DeviceKind::kInvertedStylus
}
 
enum  SignalKind : int64_t {
  SignalKind::kNone,
  SignalKind::kScroll
}
 

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
 

Detailed Description

Definition at line 35 of file pointer_data.h.

Member Enumeration Documentation

◆ Change

enum flutter::PointerData::Change : int64_t
strong
Enumerator
kCancel 
kAdd 
kRemove 
kHover 
kDown 
kMove 
kUp 

Definition at line 37 of file pointer_data.h.

37  : int64_t {
38  kCancel,
39  kAdd,
40  kRemove,
41  kHover,
42  kDown,
43  kMove,
44  kUp,
45  };
Definition: embedder.h:479
The pointer moved while up.
Definition: embedder.h:503
Definition: embedder.h:496

◆ DeviceKind

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

Definition at line 48 of file pointer_data.h.

48  : int64_t {
49  kTouch,
50  kMouse,
51  kStylus,
52  kInvertedStylus,
53  };

◆ SignalKind

enum flutter::PointerData::SignalKind : int64_t
strong
Enumerator
kNone 
kScroll 

Definition at line 56 of file pointer_data.h.

56  : int64_t {
57  kNone,
58  kScroll,
59  };

Member Function Documentation

◆ Clear()

void flutter::PointerData::Clear ( )

Member Data Documentation

◆ buttons

◆ change

◆ device

◆ distance

double flutter::PointerData::distance

◆ distance_max

double flutter::PointerData::distance_max

◆ embedder_id

int64_t flutter::PointerData::embedder_id

Definition at line 61 of file pointer_data.h.

Referenced by FlutterEngineSendPointerEvent().

◆ kind

◆ obscured

int64_t flutter::PointerData::obscured

◆ orientation

◆ physical_delta_x

◆ physical_delta_y

◆ physical_x

◆ physical_y

◆ platformData

int64_t flutter::PointerData::platformData

◆ pointer_identifier

◆ pressure

◆ pressure_max

◆ pressure_min

double flutter::PointerData::pressure_min

◆ radius_major

◆ radius_max

◆ radius_min

◆ radius_minor

double flutter::PointerData::radius_minor

◆ scroll_delta_x

double flutter::PointerData::scroll_delta_x

◆ scroll_delta_y

double flutter::PointerData::scroll_delta_y

◆ signal_kind

◆ size

double flutter::PointerData::size

◆ synthesized

◆ tilt

◆ time_stamp


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