Wiki Page Content

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


CategoryAPI, CategoryRender

None: SDL_RenderGetViewport (last edited 2011-03-14 17:54:42 by SheenaSmith)

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