Renderer.drawLines

Wraps SDL_RenderDrawLinesF (from SDL 2.0.10) which draws multiple lines following given points with the renderer's draw color

  1. void drawLines(Point[] points)
  2. void drawLines(FPoint[] points)
    class Renderer
    @trusted
    static if(sdlSupport >= SDLSupport.v2_0_10)
    void
    drawLines
    (
    const FPoint[] points
    )

Parameters

points FPoint[]

array of dsdl2.FPoint edges the lines are drawn from and to

Throws

dsdl2.SDLException if lines failed to draw

Meta