[−][src]Function sdl2_sys::SDL_RenderSetClipRect
pub unsafe extern "C" fn SDL_RenderSetClipRect(
renderer: *mut SDL_Renderer,
rect: *const SDL_Rect
) -> c_int
\brief Set the clip rectangle for the current target.
\param renderer The renderer for which clip rectangle should be set. \param rect A pointer to the rectangle to set as the clip rectangle, or NULL to disable clipping.
\return 0 on success, or -1 on error
\sa SDL_RenderGetClipRect()