Method
GdkEvent_get_angle
since: 3.0
Declaration [src]
gboolean
gdk_events_get_angle (
GdkEvent* event1,
GdkEvent* event2,
gdouble* angle
)
Description [src]
If both events contain X/Y information, this function will return TRUE
and return in angle the relative angle from event1 to event2. The rotation
direction for positive angles is from the positive X axis towards the positive
Y axis.
Available since: 3.0
Parameters
event2-
Type:
GdkEventSecond
GdkEvent.The data is owned by the caller of the method. angle-
Type:
gdouble*Return location for the relative angle between both events.
The argument will be set by the function.