benilla-re systems structs docs

GlyphBlitMono

function · font · primitive

Address
0x5ce910 · 286 bytes, up to 0x5cea2d
Signature
void __thiscall (void *this, void *dst, const void *src)
Meaning
Bakes a 1-bit glyph into an atlas cell
Confidence
verified, proof one
Finding
font/glyphs#plain-and-monochrome-bakes
Test
font::glyph_blit_mono_difftest

Finding: Plain and monochrome bakes in font: glyph cache and atlas

The plain bake writes each coverage byte as (src << 8) | 0x0fff: alpha is the top four bits of the coverage and the colour is white. The monochrome bake writes 0xffff for a set bit and 0 for a clear one.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.