SDL_RenderFillRects

Fill some number of rectangles on the current rendering target with the drawing color at subpixel precision.

extern (C) nothrow @nogc extern
bool
SDL_RenderFillRects

Parameters

renderer SDL_Renderer*

The renderer which should fill multiple rectangles.

rects const(SDL_FRect)*

A pointer to an array of destination rectangles.

count int

The number of rectangles.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError for more information.

Threadsafety: This function should only be called on the main thread.

See Also

Meta