Method
ClutterGestureActionget_velocity
Declaration [src]
gfloat
clutter_gesture_action_get_velocity (
ClutterGestureAction* action,
guint point,
gfloat* velocity_x,
gfloat* velocity_y
)
Description [src]
Retrieves the velocity, in stage pixels per millisecond, of the latest 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. |
|
velocity_x |
gfloat* |
Return location for the latest motion event’s X velocity. |
|
The argument will be set by the function. | |
The argument can be NULL . | |
velocity_y |
gfloat* |
Return location for the latest motion event’s Y velocity. |
|
The argument will be set by the function. | |
The argument can be NULL . |