Pixmap.scan

Retrieves a linear slice of the pixmap.

  1. inout(Pixel) scan(Point pos)
  2. inout(Pixel)[] scan(Point pos, int n)
    struct Pixmap
    @safe pure nothrow @safe pure nothrow @nogc inout
    inout(Pixel)[]
    scan
    (,
    int n
    )

Return Value

Type: inout(Pixel)[]

n pixels starting at the top-left position pos.

Meta