- afterDrawing
void afterDrawing()
reserved for hardware-accelerated drawing - ends drawing batch
- beforeDrawing
void beforeDrawing()
reserved for hardware-accelerated drawing - begins drawing batch
- clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
- drawChar
void drawChar(int x, int y, dchar ch, uint color, uint bgcolor)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawFragment
void drawFragment(int x, int y, DrawBuf src, Rect srcrect)
draw source buffer rectangle contents to destination buffer
- drawGlyph
void drawGlyph(int x, int y, Glyph* glyph, uint color)
draw 8bit alpha image - usually font glyph using specified color (clipping is applied)
- drawPixel
void drawPixel(int x, int y, uint color)
draw pixel at (x, y) with specified color
- drawRescaled
void drawRescaled(Rect dstrect, DrawBuf src, Rect srcrect)
draw source buffer rectangle contents to destination buffer rectangle applying rescaling
- fill
void fill(uint color)
fill the whole buffer with solid color (no clipping applied)
- fillGradientRect
void fillGradientRect(Rect rc, uint color1, uint color2, uint color3, uint color4)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillRect
void fillRect(Rect rc, uint color)
fill rectangle with solid color (clipping is applied)
- fillRectPattern
void fillRectPattern(Rect rc, uint color, int pattern)
fill rectangle with solid color and pattern (clipping is applied) 0=solid fill, 1 = dotted
- resize
void resize(int width, int height)
drawing buffer - image container which allows to perform some drawing operations