/* Copyright 2012 The Chromium Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* From pp_touch_point.idl modified Thu Mar 28 10:13:07 2013. */ #ifndef PPAPI_C_PP_TOUCH_POINT_H_ #define PPAPI_C_PP_TOUCH_POINT_H_ #include "ppapi/c/pp_macros.h" #include "ppapi/c/pp_point.h" #include "ppapi/c/pp_stdint.h" /** * @file * This file defines the API to create a touch point or position where fingers * makes contact with touch screen device. */ /** * @addtogroup Structs * @{ */ /** * The <code>PP_TouchPoint</code> struct represents all information about a * single touch point, such as position, id, rotation angle, and pressure. */ struct PP_TouchPoint { … }; PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(…); /** * @} */ /** * @addtogroup Functions * @{ */ /** * PP_MakeTouchPoint() creates a <code>PP_TouchPoint</code>. * * @return A <code>PP_TouchPoint</code> structure. */ PP_INLINE struct PP_TouchPoint PP_MakeTouchPoint(void) { … } /** * @} */ #endif /* PPAPI_C_PP_TOUCH_POINT_H_ */