Method

ClutterEventget_angle

Declaration [src]

double
clutter_event_get_angle (
  const ClutterEvent* source,
  const ClutterEvent* target
)

Description [src]

Retrieves the angle relative from source to target.

The direction of the angle is from the position X axis towards the positive Y axis.

Available since:1.12

Parameters

target ClutterEvent
 

A ClutterEvent.

 The data is owned by the caller of the function.

Return value

Returns: double
 

The angle between two ClutterEvent.