GDICanvas

A canvas with added GDI functionality.

Constructors

this
this(uint w, uint h)
Undocumented in source.

Members

Functions

opDispatch
auto opDispatch(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
scanline
inout(COLOR)[] scanline(int y)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin DirectView
Undocumented in source.

Structs

Data
struct Data
Undocumented in source.

Variables

data
RefCounted!Data data;
h
int h;
Undocumented in source.
pixels
COLOR* pixels;
Undocumented in source.
w
int w;
Undocumented in source.

Mixed In Members

From mixin DirectView

COLOR
alias COLOR = Unqual!(typeof(scanline(0)[0]))
Undocumented in source.
opIndex
inout(COLOR) opIndex(int x, int y)

Implements the view[x, y] operator.

opIndex
auto opIndex(int y)

Allows array-like viewyx access.

opIndexAssign
COLOR opIndexAssign(COLOR value, int x, int y)

Implements the view[x, y] = c operator.

Meta