Renderer.drawLine - multiple declarations

Function Renderer.drawLine

Wraps SDL_RenderDrawLine which draws a line between two points with the renderer's draw color

void drawLine (
  Point[2] line
) @trusted;

Parameters

NameDescription
line array of two dsdl2.Points indicating the line's start and end

Throws

dsdl2.SDLException if line failed to draw

Function Renderer.drawLine

Wraps SDL_RenderDrawLineF (from SDL 2.0.10) which draws a line between two points with the renderer's draw color

void drawLine (
  FPoint[2] line
) @trusted;

Parameters

NameDescription
line array of two dsdl2.FPoints indicating the line's start and end

Throws

dsdl2.SDLException if line failed to draw