save_coords()

Save the touch event coordinates.

Synopsis:

#include <gestures/types.h>
 
void save_coords(mtouch_event_t *event, gesture_coords_t *coords)

Since:

BlackBerry 10.0.0

Arguments:

event

A pointer to the event for which to save the coordinates.

coords

A pointer to the gesture coordinates structure to use for saving.

Library:

libgestures (For the qcc command, use -l gestures to link against this library)

Description:

This function saves the coordinates of a touch event in the specified gesture_coords_t data structure. You will likely need this function only if you are defining your own gestures.

Returns:

Nothing.