frame.h | frame.h | |||
---|---|---|---|---|
skipping to change at line 436 | skipping to change at line 436 | |||
* | * | |||
* Value type: unsigned int | * Value type: unsigned int | |||
*/ | */ | |||
UFDevicePropertyMaxTouches, | UFDevicePropertyMaxTouches, | |||
/** | /** | |||
* The number of touch axes provided by the device | * The number of touch axes provided by the device | |||
* | * | |||
* Value type: unsigned int | * Value type: unsigned int | |||
*/ | */ | |||
UFDevicePropertyNumAxes, | UFDevicePropertyNumAxes, | |||
/** | ||||
* The resolution of the window coordinates of the device in the X axis | ||||
* | ||||
* Value type: float | ||||
* | ||||
* The resolution is provided in pixels per meter. | ||||
*/ | ||||
UFDevicePropertyWindowResolutionX, | ||||
/** | ||||
* The resolution of the window coordinates of the device in the Y axis | ||||
* | ||||
* Value type: float | ||||
* | ||||
* The resolution is provided in pixels per meter. | ||||
*/ | ||||
UFDevicePropertyWindowResolutionY, | ||||
} UFDeviceProperty; | } UFDeviceProperty; | |||
/** Device touch axis types */ | /** Device touch axis types */ | |||
typedef enum UFAxisType { | typedef enum UFAxisType { | |||
UFAxisTypeX = 0, /**< X coordinate */ | UFAxisTypeX = 0, /**< X coordinate */ | |||
UFAxisTypeY, /**< Y coordinate */ | UFAxisTypeY, /**< Y coordinate */ | |||
UFAxisTypeTouchMajor, /**< Width along major axis of contact area of touc h */ | UFAxisTypeTouchMajor, /**< Width along major axis of contact area of touc h */ | |||
UFAxisTypeTouchMinor, /**< Width along minor axis of contact area of touc h */ | UFAxisTypeTouchMinor, /**< Width along minor axis of contact area of touc h */ | |||
UFAxisTypeWidthMajor, /**< Width along major axis of touch tool */ | UFAxisTypeWidthMajor, /**< Width along major axis of touch tool */ | |||
UFAxisTypeWidthMinor, /**< Width along minor axis of touch tool */ | UFAxisTypeWidthMinor, /**< Width along minor axis of touch tool */ | |||
skipping to change at line 870 | skipping to change at line 886 | |||
/** | /** | |||
* Get the number of axes of a device | * Get the number of axes of a device | |||
* | * | |||
* @param [in] device The device object (const) | * @param [in] device The device object (const) | |||
* @return The number of axes | * @return The number of axes | |||
*/ | */ | |||
unsigned int frame_device_get_num_axes(UFDevice device); | unsigned int frame_device_get_num_axes(UFDevice device); | |||
/** | /** | |||
* Get The resolution of the window coordinates of the device in the X axis | ||||
* | ||||
* @param [in] device The device object (const) | ||||
* @return The resolution in pixels per meter | ||||
*/ | ||||
float frame_device_get_window_resolution_x(UFDevice device); | ||||
/** | ||||
* Get The resolution of the window coordinates of the device in the Y axis | ||||
* | ||||
* @param [in] device The device object (const) | ||||
* @return The resolution in pixels per meter | ||||
*/ | ||||
float frame_device_get_window_resolution_y(UFDevice device); | ||||
/** | ||||
* Get the number of touches in the frame | * Get the number of touches in the frame | |||
* | * | |||
* @param [in] frame The frame object (const) | * @param [in] frame The frame object (const) | |||
* @return The number of touches | * @return The number of touches | |||
*/ | */ | |||
uint32_t frame_frame_get_num_touches(UFFrame frame); | uint32_t frame_frame_get_num_touches(UFFrame frame); | |||
/** | /** | |||
* Get the device of a frame | * Get the device of a frame | |||
* | * | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 32 lines changed or added | |||