eventsGetDistance

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

Returns the distance between the event locations.

This assumes that both events have X/Y information. If not, this function returns false.

Parameters

event1first gdk.event.Event
event2second gdk.event.Event
distancereturn location for the distance

Returns

true if the distance could be calculated.