glfwGetWindowPos¶
Retrieves the position of the content area of the specified window.
This function retrieves the position, in screen coordinates, of the upper-left corner of the content area of the specified window.
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
-
\GLFWwindow
$window
The window to query.int
$xpos
Where to store the x-coordinate of the upper-left corner of the content area, orNULL
.int
$ypos
Where to store the y-coordinate of the upper-left corner of the content area, orNULL
.
- returns
-
void