zenilib: zenilib/jni/external/sdl/src/events/SDL_gesture_c.h File Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
SDL_gesture_c.h File Reference
`#include "SDL_config.h"`

Go to the source code of this file.

## Functions

int | SDL_GestureAddTouch (SDL_TouchID touchId)
void | SDL_GestureProcessEvent (SDL_Event *event)
int | SDL_RecordGesture (SDL_TouchID touchId)
| Begin Recording a gesture on the specified touch, or all touches (-1) More...

## Function Documentation

int SDL_GestureAddTouch | ( | SDL_TouchID | touchId | ) |

Definition at line 412 of file SDL_gesture.c.

References SDL_FALSE, SDL_gestureTouch, SDL_numGestureTouches, SDL_OutOfMemory, and SDL_realloc().

Referenced by SDL_AddTouch().

void SDL_GestureProcessEvent | ( | SDL_Event * | event | ) |

Definition at line 485 of file SDL_gesture.c.

References dollarNormalize(), DOLLARNPOINTS, dollarRecognize(), error, i, MAXPATHSIZE, NULL, recordAll, SDL_AddDollarGesture(), SDL_atan2(), SDL_FALSE, SDL_FINGERDOWN, SDL_FINGERMOTION, SDL_FINGERUP, SDL_gestureTouch, SDL_GetGestureTouch(), SDL_numGestureTouches, SDL_SendDollarRecord(), SDL_SendGestureDollar(), SDL_SendGestureMulti(), SDL_sqrt(), SDL_Event::tfinger, SDL_TouchFingerEvent::touchId, and SDL_Event::type.

Referenced by SDL_PushEvent().

int SDL_RecordGesture | ( | SDL_TouchID | touchId | ) |

Begin Recording a gesture on the specified touch, or all touches (-1)

Definition at line 93 of file SDL_gesture.c.

References i, recordAll, SDL_gestureTouch, SDL_numGestureTouches, and SDL_TRUE.