Wiki Page Content

Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2013-10-31 21:47:53
Size: 830
Comment: Corrected function syntax, see SGFunctions page.
Revision 5 as of 2015-06-20 19:47:56
Size: 951
Comment: Added more parameter description from header file.
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
||'''renderer'''||the rendering context||
||'''rect'''||an [[SDL_Rect]] structure filled in with the current clipping area||
||'''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||
Line 37: Line 37:
 .[[SDL_RenderIsClipEnabled]]

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)

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