eventsGetDistance

fnbool eventsGetDistance(gdk.event.Event event1, gdk.event.Event event2, out double distance)

If both events have X/Y information, the distance between both coordinates (as in a straight line going from event1 to event2) will be returned.

Parameters

event1first #GdkEvent
event2second #GdkEvent
distancereturn location for the distance

Returns

true if the distance could be calculated.