Function sdl2_sys::SDL_RenderDrawRectF
source ยท pub unsafe extern "C" fn SDL_RenderDrawRectF(
renderer: *mut SDL_Renderer,
rect: *const SDL_FRect,
) -> c_int
Expand description
Draw a rectangle on the current rendering target at subpixel precision.
\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
\since This function is available since SDL 2.0.10.