eventsGetDistance
fn
bool 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
event1 | first [gdk.event.Event] |
event2 | second [gdk.event.Event] |
distance | return location for the distance |
Returns
true if the distance could be calculated.