GDICanvas

A canvas with added GDI functionality.

Constructors

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

Members

Aliases

StorageType
alias StorageType = OneBitStorageBE
Undocumented in source.
StorageType
alias StorageType = PlainStorageUnit!COLOR
Undocumented in source.

Functions

opDispatch
auto opDispatch(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
scanline
inout(StorageType)[] scanline(xy_t 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
xy_t h;
Undocumented in source.
pixelData
StorageType* pixelData;
Undocumented in source.
pixelStride
sizediff_t pixelStride;
Undocumented in source.
w
xy_t w;
Undocumented in source.

Mixed In Members

From mixin DirectView

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

Implements the view[x, y] operator.

Row
struct Row

Allows array-like viewyx access.

opIndex
Row opIndex(xy_t y)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
COLOR opIndexAssign(COLOR value, xy_t x, xy_t y)

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

Meta