Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-01-21 18:03:57
Size: 787
Editor: SheenaSmith
Comment: Update WindowID > Window*
Revision 3 as of 2010-08-29 23:23:06
Size: 763
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 18: Line 17:
||'''window'''||the type used to identify the window||
||'''w'''||the width of the window||
||'''h'''||the height of the window||
||'''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||

SDL_GetWindowSize

Use this function to get the size of the 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

None: SDL_GetWindowSize (last edited 2019-11-11 17:45:53 by ColaEuphoria)

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