SDL_RenderGetViewport
Use this function to get the drawing area for the current target.
Syntax
void SDL_RenderGetViewport(SDL_Renderer* renderer,
SDL_Rect* rect)
Function Parameters
renderer |
the rendering context |
rect |
an SDL_Rect structure filled in with the current drawing area |
Code Examples
You can add your code example here
Remarks
You can add useful comments here