|
⇤ ← Revision 1 as of 2011-03-12 19:37:46
Size: 759
Comment: create page - 3/10 55a687c55676 (2/15 1800dc39b74c)
|
← Revision 2 as of 2011-03-14 17:54:42 ⇥
Size: 709
Comment: update content - w/ Sam; remove draft
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 18: | Line 17: |
| ||'''rect'''||the [[SDL_Rect]] structure representing the drawing area|| | ||'''rect'''||an [[SDL_Rect]] structure filled in with the current drawing area|| |
| Line 32: | Line 31: |
| [[CategoryAPI]], [[CategoryRenderer]] | [[CategoryAPI]], [[CategoryRender]] |
SDL_RenderGetViewport
Use this function to get the drawing area for the current target.
Syntax
void SDL_RenderGetViewport(SDL_Renderer* renderer,
SDL_Rect* rect)
Function Parameters
renderer |
the rendering context |
rect |
an SDL_Rect structure filled in with the current drawing area |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
