gesture_pinch_t

The pinch gesture data type.

Synopsis:

typedef struct  {
    gesture_base_t base ;
    pinch_params_t params ;
    gesture_coords_t coords [2];
    gesture_coords_t centroid ;
    gesture_coords_t last_centroid ;
    gesture_coords_t distance ;
    gesture_coords_t last_distance ;
}gesture_pinch_t;

Data:

gesture_base_t base
The gesture base data structure.
pinch_params_t params
The swipe parameters.
gesture_coords_t coords
The coordinates of the touch events for the two fingers.
gesture_coords_t centroid
The coordintes of the midpoint between the two touches.
gesture_coords_t last_centroid
The coordintes of the midpoint between the previous two touches.
gesture_coords_t distance
The distance between the current touches.
gesture_coords_t last_distance
The distance between the previous touches.

Library:

libgestures

Description:

The structure gesture_pinch_t carries data about the pinch gesture.