Event.eventsGetAngle

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.

class Event
int
eventsGetAngle
(,
out double angle
)

Parameters

event2 Event

second GdkEvent

angle double

return location for the relative angle between both events. out

Return Value

Type: int

TRUE if the angle could be calculated. Since 3.0

Meta