[][src]Function sdl2_sys::SDL_SetWindowPosition

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

\brief Set the position of a window.

\param window The window to reposition. \param x The x coordinate of the window in screen coordinates, or ::SDL_WINDOWPOS_CENTERED or ::SDL_WINDOWPOS_UNDEFINED. \param y The y coordinate of the window in screen coordinates, or ::SDL_WINDOWPOS_CENTERED or ::SDL_WINDOWPOS_UNDEFINED.

\note The window coordinate origin is the upper left of the display.

\sa SDL_GetWindowPosition()