Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
The following macros are available for use with the gesture API:
| Name | Value | Description |
|---|---|---|
GID_IS_BUILTIN_GESTURE(x) |
|
Indicates if a gesture ID is a predefined gesture command. |
GID_ROTATE_ANGLE_TO_ARGUMENT(_arg_) |
|
Converts an angle from radians to an unsigned, 16-bit integer. |
GID_ROTATE_ANGLE_FROM_ARGUMENT(_arg_) |
|
Converts an angle from an unsigned, 16-bit integer to radians. |
GID_SCROLL_ANGLE(x) |
|
Retrieves the angle of a flick gesture as an unsigned, 16-bit integer from the ullArguments member of GESTUREINFO. |
GID_SCROLL_DIRECTION(x) |
|
Retrieves the direction of a flick gesture from the ullArguments member of GESTUREINFO. The direction is one of the following values:
|
GID_SCROLL_VELOCITY(x) |
|
Retrieves the velocity of a flick gesture, in pixels per second, from the ullArguments member of GESTUREINFO. |
GID_TO_TGF(x) |
|
Converts a gesture ID into a flag bit that you can use when you enable or disable gestures. |
Requirements
| Header | pwinuser.h |
| sysgen | SYSGEN_TOUCHGESTURE |