Renderer.drawPoints

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

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

Parameters

points FPoint[]

array of dsdl2.FPoint positions the points are drawn at

Throws

dsdl2.SDLException if points failed to draw

Meta