Package: gdk

Function gdk-events-angle

Lambda List

gdk-events-angle (event-1 event-2)

Arguments

event-1 -- a gdk-event instance
event-2 -- a gdk-event instance

Return Value

A :double with the relative angle between both events.

Details

If both events contain X/Y information, this function will return the relative angle from event-1 to event-2. The rotation direction for positive angles is from the positive X axis towards the positive Y axis.
 

See also

2020-8-25