Wiki Page Content

SDL_RenderGetClipRect

Use this function to get the clip rectangle for the current target.

Syntax

void SDL_RenderGetClipRect(SDL_Renderer* renderer,
                           SDL_Rect*     rect)

Function Parameters

renderer

the rendering context from which clip rectangle should be queried

rect

an SDL_Rect structure filled in with the current clipping area or an empty rectangle if clipping is disabled

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryRender

None: SDL_RenderGetClipRect (last edited 2015-06-20 19:47:56 by PhilippWiesemann)

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