[−][src]Function sdl2_sys::SDL_RenderDrawRect
pub unsafe extern "C" fn SDL_RenderDrawRect(
renderer: *mut SDL_Renderer,
rect: *const SDL_Rect
) -> c_int
\brief Draw a rectangle on the current rendering target.
\param renderer The renderer which should draw a rectangle. \param rect A pointer to the destination rectangle, or NULL to outline the entire rendering target.
\return 0 on success, or -1 on error