Method

ClutterEventget_distance

Declaration [src]

float
clutter_event_get_distance (
  const ClutterEvent* source,
  const ClutterEvent* target
)

Description [src]

Retrieves the distance between two events, a source and a target.

Available since:1.12

Parameters

target ClutterEvent
 

A ClutterEvent.

 The data is owned by the caller of the function.

Return value

Returns: float
 

The distance between two ClutterEvent.