- bitBLT
void bitBLT(Point target, ABitmap source)
Pastes a bitmap to the given point using blitter, which threats color #0 as transparency.
- bitBLT
void bitBLT(Point target, ABitmap source, Box slice)
Pastes a slice of a bitmap to the given point using blitter, which threats color #0 as transparency.
- bitBLTPattern
void bitBLTPattern(Box target, ABitmap pattern)
Pastes a repeated bitmap pattern over the specified area.
- clearArea
void clearArea(Box target)
Clears the area within the target
- drawBox
void drawBox(Box target, ubyte color)
Draws an empty rectangle.
- drawBoxPattern
void drawBoxPattern(Box target, ubyte[] pattern)
Draws an empty rectangle with line patterns.
- drawFilledBox
void drawFilledBox(Box target, ubyte color)
Draws a filled rectangle with a specified color.
- drawLine
void drawLine(Point from, Point to, ubyte color)
- drawLinePattern
void drawLinePattern(Point from, Point to, ubyte[] pattern)
- drawTextML
void drawTextML(Box target, Text text, Point offset)
Draws a multi line text within the given prelimiter.
- drawTextSL
void drawTextSL(Box target, Text text, Point offset)
Draws a single line text within the given prelimiter.
- fill
void fill(Point target, ubyte color, ubyte background)
Fills an area with the specified color.
- xorBitBLT
void xorBitBLT(Box target, ABitmap pattern)
XOR blits a repeated bitmap pattern over the specified area.
- xorBitBLT
void xorBitBLT(Box target, ubyte color)
XOR blits a color index over a specified area.
Implements the frontend of a drawable canvas, primarily for GUI elements. Used to avoid using individual bitmaps for each elements. Colors are mostly limited to 256 by the ubyte type. However certain window types will enable more.