Renderer.fillRects - multiple declarations

Function Renderer.fillRects

Wraps SDL_RenderFillRects which fills multiple rectangles with the renderer's draw color

void fillRects (
  const(Rect[]) rects
) @trusted;

Parameters

NameDescription
rects array of dsdl2.Rect of the rectangles

Throws

dsdl2.SDLException if rectangles failed to fill

Function Renderer.fillRects

Wraps SDL_RenderFillRectsF (from SDL 2.0.10) which fills multiple rectangles with the renderer's draw color

void fillRects (
  const(FRect[]) rects
) @trusted;

Parameters

NameDescription
rects array of dsdl2.FRect of the rectangles

Throws

dsdl2.SDLException if rectangles failed to fill