glfwGetMonitorPos¶
Returns the position of the monitor's viewport on the virtual screen.
This function returns the position, in screen coordinates, of the upper-left corner of the specified monitor.
Any or all of the position arguments may be NULL
. If an error occurs, all
non-NULL
position arguments will be set to zero.
- arguments
-
\GLFWmonitor
$monitor
The monitor to query.int
$xpos
Where to store the monitor x-coordinate, orNULL
.int
$ypos
Where to store the monitor y-coordinate, orNULL
.
- returns
-
void