Method

ClutterPanGestureget_centroid

Declaration [src]

void
clutter_pan_gesture_get_centroid (
  ClutterPanGesture* self,
  graphene_point_t* centroid_out
)

Description [src]

Retrieves the current centroid of the points active on self.

Note that ClutterPanGesture tries to keep the centroid “stable” when points are added or removed from the gesture: The centroid is driven from deltas rather than the actual points on the screen.

Parameters

centroid_out

Type: graphene_point_t

A #graphene_point_t.

The argument will be set by the function.
The returned data is owned by the instance.