Expand description
Glyph bitmap blitting — replaces Splash::fillGlyph2.
A glyph bitmap is either:
- AA (
aa = true): one byte per pixel, containing a coverage value 0–255. - Mono (
aa = false): 1-bit-per-pixel, MSB-first packed,ceil(w/8)bytes per row.
The blit clips to the destination bitmap bounds and optionally to the Clip region.
§C++ equivalent
Splash::fillGlyph2.
Structs§
- Glyph
Bitmap - A rasterized glyph bitmap as produced by a font renderer.
Functions§
- blit_
glyph - Blit a glyph at pen position
(pen_x, pen_y)(device pixel coordinates). - fill_
glyph - Clip-test a glyph bbox and blit it.