Pixmap.setPixel

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

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

See Also

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

Meta