Package: gdk

Function gdk:events-angle

Lambda List

gdk:events-angle (event1 event2)

Arguments

event1 -- a gdk:event instance
event2 -- a gdk:event instance

Return Value

The double float with the relative angle between both events.

Details

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

See also

#2023-5-25