Function sdl2_sys::SDL_RenderGetViewport

source ยท
pub unsafe extern "C" fn SDL_RenderGetViewport(
    renderer: *mut SDL_Renderer,
    rect: *mut SDL_Rect,
)
Expand description

Get the drawing area for the current target.

\param renderer the rendering context \param rect an SDL_Rect structure filled in with the current drawing area

\since This function is available since SDL 2.0.0.

\sa SDL_RenderSetViewport