Renderer.drawPoint

Wraps SDL_RenderDrawPointF (from SDL 2.0.10) which draws a single point at a given position with the renderer's draw color

  1. void drawPoint(Point point)
  2. void drawPoint(FPoint point)
    class Renderer
    @trusted
    static if(sdlSupport >= SDLSupport.v2_0_10)
    void
    drawPoint

Parameters

point FPoint

dsdl2.FPoint position the point is drawn at

Throws

dsdl2.SDLException if point failed to draw

Meta