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$windowThe window to query.int$xposWhere to store the x-coordinate of the upper-left corner of the content area, orNULL.int$yposWhere to store the y-coordinate of the upper-left corner of the content area, orNULL.
- returns
-
void