PointerData¶
-
class
PointerData
¶ Holds the data that might be generated by a 2-d pointer input device, such as the mouse in the
GraphicsWindow
.Inheritance diagram
-
PointerData
(void) = default¶
-
PointerData
(PointerData const&) = default¶
-
bool
get_in_window
(void) const¶ If this returns false, the pointer is not currently present in the window and the values returned by
get_x()
andget_y()
may not be meaningful.
-
double
get_x
(void) const¶
-
double
get_y
(void) const¶
-