|
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
