Method

ClutterPanActionget_motion_delta

Declaration [src]

gfloat
clutter_pan_action_get_motion_delta (
  ClutterPanAction* self,
  guint point,
  gfloat* delta_x,
  gfloat* delta_y
)

Description [src]

Retrieves the delta, in stage space, dependent on the current state of the ClutterPanAction. If it is inactive, both fields will be set to 0. If it is panning by user action, the values will be equivalent to those returned by clutter_gesture_action_get_motion_delta(). If it is interpolating with some form of kinetic scrolling, the values will be equivalent to those returned by clutter_pan_action_get_interpolated_delta(). This is a convenience method designed to be used in replacement “pan” signal handlers.

Parameters

point

Type: guint

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

delta_x

Type: gfloat*

Return location for the X delta.

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

Type: gfloat*

Return location for the Y delta.

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

Return value

Type: gfloat

No description available.