eventsGetDistance
fn
bool 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
event1 | first #GdkEvent |
event2 | second #GdkEvent |
distance | return location for the distance |
Returns
true if the distance could be calculated.