Get the drawing area for the current target.
Defined in SDL_render.h
void SDL_RenderGetViewport(SDL_Renderer * renderer,
SDL_Rect * rect);
SDL_Renderer * | renderer | the rendering context. |
SDL_Rect * | rect | an SDL_Rect structure filled in with the current drawing area. |
This function is available since SDL 2.0.0.