SDL_GetWindowPosition

Use this function to get the position of a window.

Syntax

void SDL_GetWindowPosition(SDL_Window* window,
                           int*        x,
                           int*        y)

Function Parameters

window

the window to query

x

a pointer filled in with the x coordinate of the window

y

a pointer filled in with the y coordinate of the window

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

SDL_GetWindowPosition (last edited 2010-10-18 03:35:39 by SheenaSmith)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit