Renderer.drawLines - multiple declarations

Function Renderer.drawLines

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

void drawLines (
  const(Point[]) points
) @trusted;

Parameters

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

Throws

dsdl2.SDLException if lines failed to draw

Function Renderer.drawLines

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

void drawLines (
  const(FPoint[]) points
) @trusted;

Parameters

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

Throws

dsdl2.SDLException if lines failed to draw