Renderer.drawPoints - multiple declarations

Function Renderer.drawPoints

Wraps SDL_RenderDrawPoints which draws multiple points at given positions with the renderer's draw color

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

Parameters

NameDescription
points array of dsdl2.Point positions the points are drawn at

Throws

dsdl2.SDLException if points failed to draw

Function Renderer.drawPoints

Wraps SDL_RenderDrawPointsF (from SDL 2.0.10) which draws multiple points at given positions with the renderer's draw color

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

Parameters

NameDescription
points array of dsdl2.FPoint positions the points are drawn at

Throws

dsdl2.SDLException if points failed to draw