eventsGetCenter

fnbool eventsGetCenter(gdk.event.Event event1, gdk.event.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

event1first #GdkEvent
event2second #GdkEvent
xreturn location for the X coordinate of the center
yreturn location for the Y coordinate of the center

Returns

true if the center could be calculated.