#pragma section-numbers off #pragma camelcase off = SDL_RenderGetViewport = Use this function to get the drawing area for the current target. <> == Syntax == {{{#!highlight cpp 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 == {{{#!highlight cpp You can add your code example here }}} == Remarks == ''You can add useful comments here'' == Related Functions == .[[SDL_RenderSetViewport]] ---- [[CategoryAPI]], [[CategoryRender]]