Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Struct _cef_touch_event_t

   in cef_types.h

struct _cef_touch_event_t

Structure representing touch event information.


Field Summary
 int id
          Id of a touch point.
 uint32 modifiers
          Bit flags describing any pressed modifier keys.
 cef_pointer_type_t pointer_type
          The device type that caused the event.
 float pressure
          The normalized pressure of the pointer input in the range of [0,1].
 float radius_x
          X radius in pixels.
 float radius_y
          Y radius in pixels.
 float rotation_angle
          Rotation angle in radians.
 cef_touch_event_type_t type
          The state of the touch point.
 float x
          X coordinate relative to the left side of the view.
 float y
          Y coordinate relative to the top side of the view.
 

Field Detail

id

public int id;
Id of a touch point. Must be unique per touch, can be any number except -1. Note that a maximum of 16 concurrent touches will be tracked; touches beyond that will be ignored.

modifiers

public uint32 modifiers;
Bit flags describing any pressed modifier keys. See cef_event_flags_t for values.

pointer_type

public cef_pointer_type_t pointer_type;
The device type that caused the event.

pressure

public float pressure;
The normalized pressure of the pointer input in the range of [0,1]. Set to 0 if not applicable.

radius_x

public float radius_x;
X radius in pixels. Set to 0 if not applicable.

radius_y

public float radius_y;
Y radius in pixels. Set to 0 if not applicable.

rotation_angle

public float rotation_angle;
Rotation angle in radians. Set to 0 if not applicable.

type

public cef_touch_event_type_t type;
The state of the touch point. Touches begin with one CEF_TET_PRESSED event followed by zero or more CEF_TET_MOVED events and finally one CEF_TET_RELEASED or CEF_TET_CANCELLED event. Events not respecting this order will be ignored.

x

public float x;
X coordinate relative to the left side of the view.

y

public float y;
Y coordinate relative to the top side of the view.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt