Get the clip rectangle for the current target.
Defined in SDL_render.h
void SDL_RenderGetClipRect(SDL_Renderer * renderer,
SDL_Rect * rect);
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 |
This function is available since SDL 2.0.0.
CategoryAPI, CategoryAPIFunction