Method

ClutterGestureActionget_motion_delta

Declaration [src]

gfloat
clutter_gesture_action_get_motion_delta (
  ClutterGestureAction* action,
  guint point,
  gfloat* delta_x,
  gfloat* delta_y
)

Description [src]

Retrieves the incremental delta since the last motion event during the dragging.

Available since:1.12

Parameters

point guint
 

The touch point index, with 0 being the first touch point received by the action.

delta_x gfloat*
 

Return location for the X axis component of the incremental motion delta.

 The argument will be set by the function.
 The argument can be NULL.
delta_y gfloat*
 

Return location for the Y axis component of the incremental motion delta.

 The argument will be set by the function.
 The argument can be NULL.

Return value

Returns: gfloat
 

The distance since last motion event.