Chromium Embedded Framework (CEF)
126.2.0+g5c56e98+chromium-126.0.6478.62
|
Structure representing touch event information. More...
#include "include/internal/cef_types.h"
Public Attributes | |
int | id |
Id of a touch point. More... | |
float | x |
X coordinate relative to the left side of the view. More... | |
float | y |
Y coordinate relative to the top side of the view. More... | |
float | radius_x |
X radius in pixels. More... | |
float | radius_y |
Y radius in pixels. More... | |
float | rotation_angle |
Rotation angle in radians. More... | |
float | pressure |
The normalized pressure of the pointer input in the range of [0,1]. More... | |
cef_touch_event_type_t | type |
The state of the touch point. More... | |
uint32_t | modifiers |
Bit flags describing any pressed modifier keys. More... | |
cef_pointer_type_t | pointer_type |
The device type that caused the event. More... | |
Structure representing touch event information.
int cef_touch_event_t::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.
uint32_t cef_touch_event_t::modifiers |
Bit flags describing any pressed modifier keys.
See cef_event_flags_t for values.
cef_pointer_type_t cef_touch_event_t::pointer_type |
The device type that caused the event.
float cef_touch_event_t::pressure |
The normalized pressure of the pointer input in the range of [0,1].
Set to 0 if not applicable.
float cef_touch_event_t::radius_x |
X radius in pixels.
Set to 0 if not applicable.
float cef_touch_event_t::radius_y |
Y radius in pixels.
Set to 0 if not applicable.
float cef_touch_event_t::rotation_angle |
Rotation angle in radians.
Set to 0 if not applicable.
cef_touch_event_type_t cef_touch_event_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.
float cef_touch_event_t::x |
X coordinate relative to the left side of the view.
float cef_touch_event_t::y |
Y coordinate relative to the top side of the view.