5 #ifndef PPAPI_CPP_TOUCH_POINT_H_
6 #define PPAPI_CPP_TOUCH_POINT_H_
8 #include "ppapi/c/ppb_input_event.h"
9 #include "ppapi/cpp/input_event.h"
10 #include "ppapi/cpp/point.h"
19 TouchPoint(
const PP_TouchPoint& point) : touch_point_(point) {}
27 uint32_t
id()
const {
return touch_point_.id; }
46 float pressure()
const {
return touch_point_.pressure; }
49 PP_TouchPoint touch_point_;
FloatPoint position() const
float rotation_angle() const
Wrapper class for PP_TouchPoint.
TouchPoint(const PP_TouchPoint &point)