- allocatePlace
void allocatePlace(uint width, uint height)
Undocumented in source. Be warned that the author may not have intended to support it.
- blendMode
BlendMode blendMode()
Undocumented in source. Be warned that the author may not have intended to support it.
- blendMode
void blendMode(BlendMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
- blendOperation
BlendFactor[2] blendOperation()
Undocumented in source. Be warned that the author may not have intended to support it.
- blendOperation
void blendOperation(BlendFactor sfactor, BlendFactor dfactor)
Undocumented in source. Be warned that the author may not have intended to support it.
- clearPlane
void clearPlane(Color!ubyte color)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawTo
void drawTo()
Undocumented in source. Be warned that the author may not have intended to support it.
- move
void move(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- viewport
void viewport(uint w, uint h)
Undocumented in source. Be warned that the author may not have intended to support it.
- allocatePlace
void allocatePlace(uint width, uint height)
Allocate memory for the canvas at the specified size.
- clearPlane
void clearPlane(Color!ubyte color)
Cleared the canvas with one color.
- drawTo
void drawTo()
Draws a buffer to a storage object.
- blendMode
BlendMode blendMode [@property setter]
BlendMode blendMode [@property getter]
Blending mode (blend or not).
- blendOperation
void blendOperation(BlendFactor sfactor, BlendFactor dfactor)
Sets the color mixing factor (which formula to mix colors with).
- blendOperation
BlendFactor[2] blendOperation()
Mixing factor (sfactor, dfactor).
- pointTo
void pointTo(Vecf position, Color!ubyte color)
Draw a point on the canvas.
Draw only a point, the rest of the shapes are rendered.
- viewport
void viewport(uint w, uint h)
- move
void move(int x, int y)
Move the visibility port to the specified coordinates.
- data
ubyte[] data [@property getter]
- size
uint[2] size [@property getter]
- portSize
uint[2] portSize [@property getter]
The real size of the world, where from the world it will be drawn to
the size of the canvas.
- cameraPosition
int[2] cameraPosition [@property getter]
Camera position (offset of all drawing points).