gesture_tfpan_t

The two-finger pan gesture data type

Synopsis:

#include <gestures/>
typedef struct gesture_tfpan_t {
    gesture_base_t base;
    tfpan_params_t params;
    gesture_coords_t coords[2];
    gesture_coords_t centroid;
    gesture_coords_t last_centroid;
} gesture_tfpan_t;

Data:

gesture_base_t base
The gesture base data structure.
tfpan_params_t params
The two-finger pan parameters.
gesture_coords_t coords[2]
The coordinates of the touch events for the two fingers.
gesture_coords_t centroid
The coordinates of the midpoint between the two touches.
gesture_coords_t last_centroid
The coordintes of the midpoint between the previous two touches.

Library:

libgestures

Description:

This structure carries data about the two-finger pan gesture.