5 #ifndef PPAPI_CPP_TOUCH_POINT_H_
6 #define PPAPI_CPP_TOUCH_POINT_H_
10 #include "ppapi/c/ppb_input_event.h"
19 TouchPoint() : touch_point_(PP_MakeTouchPoint()) {}
21 TouchPoint(
const PP_TouchPoint& point) : touch_point_(point) {}
29 uint32_t
id()
const {
return touch_point_.id; }
48 float pressure()
const {
return touch_point_.pressure; }
51 PP_TouchPoint touch_point_;
FloatPoint position() const
Definition: touch_point.h:32
FloatPoint radii() const
Definition: touch_point.h:38
float rotation_angle() const
Definition: touch_point.h:42
Wrapper class for PP_TouchPoint.
Definition: touch_point.h:17
uint32_t id() const
Definition: touch_point.h:29
float pressure() const
Definition: touch_point.h:48