Pixmap.setPixel

Provides access to a single pixel at the requested 2D-position.

  1. void setPixel(Point pos, Pixel value)
  2. void setPixel(int x, int y, Pixel value)
    struct Pixmap
    @safe pure nothrow @safe pure nothrow @nogc
    void
    setPixel
    (
    int x
    ,
    int y
    ,)

See Also

Accessing pixels through the data array will be more useful, usually.

Meta