SDL_GetWindowSize

Use this function to get the size of a window's client area.

Syntax

void SDL_GetWindowSize(SDL_Window* window,
                       int*        w,
                       int*        h)

Function Parameters

window

the window to query

w

a pointer filled in with the width of the window

h

a pointer filled in with the height of the window

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

SDL_GetWindowSize (last edited 2010-10-18 03:35:21 by SheenaSmith)

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