events_get_distance


Description:


[ Version ( since = "3.0" ) ]
public bool events_get_distance (Event event1, 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 Event

event2

second Event

distance

return location for the distance

Returns:

true if the distance could be calculated.


Namespace: Gdk
Package: gdk-3.0