- _dx
int _dx;
Undocumented in source.
- _dy
int _dy;
Undocumented in source.
- bpp
int bpp [@property getter]
returns buffer bits per pixel
- width
int width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- height
int height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- scanLine
uint* scanLine(int y)
returns pointer to ARGB scanline, null if y is out of range or buffer doesn't provide access to its memory
- drawFragment
void drawFragment(int x, int y, DrawBuf src, Rect srcrect)
draw source buffer rectangle contents to destination buffer
- drawRescaled
void drawRescaled(Rect dstrect, DrawBuf src, Rect srcrect)
draw source buffer rectangle contents to destination buffer rectangle applying rescaling
- isBlackPixel
bool isBlackPixel(uint c)
Undocumented in source. Be warned that the author may not have intended to support it.
- detectNinePatch
bool detectNinePatch()
detect nine patch using image 1-pixel border (see Android documentation)
- drawGlyph
void drawGlyph(int x, int y, Glyph* glyph, uint color)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawGlyphToTexture
void drawGlyphToTexture(int x, int y, Glyph* glyph)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillRect
void fillRect(Rect rc, uint color)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillGradientRect
void fillGradientRect(Rect rc, uint color1, uint color2, uint color3, uint color4)
fill rectangle with a gradient (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
- drawPixel
void drawPixel(int x, int y, uint color)
draw pixel at (x, y) with specified color
Win32 context ARGB drawing buffer