events_get_center


Description:


[ Version ( since = "3.0" ) ]
public bool events_get_center (Event event1, Event event2, out double x, out double y)

If both events contain X/Y information, the center of both coordinates will be returned in x and y.

Parameters:

event1

first Event

event2

second Event

x

return location for the X coordinate of the center

y

return location for the Y coordinate of the center

Returns:

true if the center could be calculated.


Namespace: Gdk
Package: gdk-3.0