Function sdl2_sys::SDL_RenderGetClipRect

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

Get the clip rectangle for the current target.

\param renderer the rendering context from which clip rectangle should be queried \param rect an SDL_Rect structure filled in with the current clipping area or an empty rectangle if clipping is disabled

\since This function is available since SDL 2.0.0.

\sa SDL_RenderIsClipEnabled \sa SDL_RenderSetClipRect