Renderer.drawRects

Wraps SDL_RenderDrawRects which draws multiple rectangles' edges with the renderer's draw color

  1. void drawRects(Rect[] rects)
    class Renderer
    @trusted
    void
    drawRects
    (
    const Rect[] rects
    )
  2. void drawRects(FRect[] rects)

Parameters

rects Rect[]

array of dsdl2.Rect of the rectangles

Throws

dsdl2.SDLException if rectangles failed to draw

Meta