Function sdl2_sys::SDL_GetWindowPosition

source ยท
pub unsafe extern "C" fn SDL_GetWindowPosition(
    window: *mut SDL_Window,
    x: *mut c_int,
    y: *mut c_int,
)
Expand description

Get the position of a window.

If you do not need the value for one of the positions a NULL may be passed in the x or y parameter.

\param window the window to query \param x a pointer filled in with the x position of the window, in screen coordinates, may be NULL \param y a pointer filled in with the y position of the window, in screen coordinates, may be NULL

\since This function is available since SDL 2.0.0.

\sa SDL_SetWindowPosition