Method

ClutterPanActionget_constrained_motion_delta

Declaration [src]

gfloat
clutter_pan_action_get_constrained_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, and respecting the constraint specified by the ClutterPanAction:pan-axis property.

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

The distance since last motion event4.