OwnedImage
nothrow @nogc
class OwnedImage (
) {
}
- this
this()
- this
this(int w, int h)
Create with given initial size.
A destructor is present on this object, but not explicitly documented in the source.
- pixels
COLOR[] pixels()
- scanline
COLOR[] scanline(int y)
Returns an array for the pixels at row y.
- size
void size(int w, int h)
Resize the image, the content is lost.
From mixin DirectView
- opIndex
COLOR opIndex(int x, int y)
Implements the view[x, y] operator.
- opIndexAssign
COLOR opIndexAssign(COLOR value, int x, int y)
Implements the view[x, y] = c operator.
Manually managed image which is also GC-proof.