Renderer.drawLines

Wraps SDL_RenderDrawLines which draws multiple lines following given points with the renderer's draw color

  1. void drawLines(Point[] points)
    class Renderer
    @trusted
    void
    drawLines
    (
    const Point[] points
    )
  2. void drawLines(FPoint[] points)

Parameters

points Point[]

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

Throws

dsdl2.SDLException if lines failed to draw

Meta