[][src]Function sdl2_sys::SDL_GetWindowPosition

pub unsafe extern "C" fn SDL_GetWindowPosition(
    window: *mut SDL_Window,
    x: *mut c_int,
    y: *mut c_int
)

\brief Get the position of a window.

\param window The window to query. \param x Pointer to variable for storing the x position, in screen coordinates. May be NULL. \param y Pointer to variable for storing the y position, in screen coordinates. May be NULL.

\sa SDL_SetWindowPosition()