Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
pp_touch_point.h
Go to the documentation of this file.
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2  * Use of this source code is governed by a BSD-style license that can be
3  * found in the LICENSE file.
4  */
5 
6 /* From pp_touch_point.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_PP_TOUCH_POINT_H_
9 #define PPAPI_C_PP_TOUCH_POINT_H_
10 
11 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/pp_point.h"
13 #include "ppapi/c/pp_stdint.h"
14 
30 struct PP_TouchPoint {
39  uint32_t id;
61  float pressure;
62 };
63 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_TouchPoint, 28);
78 PP_INLINE struct PP_TouchPoint PP_MakeTouchPoint(void) {
79  struct PP_TouchPoint result = { 0, {0, 0}, {0, 0}, 0, 0 };
80  return result;
81 }
86 #endif /* PPAPI_C_PP_TOUCH_POINT_H_ */
87 
float pressure
Definition: pp_touch_point.h:61
float rotation_angle
Definition: pp_touch_point.h:54
PP_INLINE struct PP_TouchPoint PP_MakeTouchPoint(void)
Definition: pp_touch_point.h:78
Definition: pp_point.h:46
struct PP_FloatPoint position
Definition: pp_touch_point.h:44
uint32_t id
Definition: pp_touch_point.h:39
Definition: pp_touch_point.h:30
struct PP_FloatPoint radius
Definition: pp_touch_point.h:49