#pragma section-numbers off #pragma disable-camelcase = SDL_SetWindowPosition = Use this function to set the position of a window. <> == Syntax == {{{#!highlight cpp void SDL_SetWindowPosition(SDL_Window* window, int x, int y) }}} == Function Parameters == ||'''window'''||the window to reposition|| ||'''x'''||the x coordinate of the window in screen coordinates, or SDL_WINDOWPOS_CENTERED or SDL_WINDOWPOS_UNDEFINED|| ||'''y'''||the y coordinate of the window in screen coordinates, or SDL_WINDOWPOS_CENTERED or SDL_WINDOWPOS_UNDEFINED|| == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == The window coordinate origin is the upper left of the display. == Related Functions == .[[SDL_GetWindowPosition]] ---- [[CategoryAPI]], [[CategoryVideo]]