benilla-re systems structs docs

CGxFont::RasterizeGlyph

function · font · orchestration

Address
0x5ca160 · 105 bytes, up to 0x5ca1c8
Signature
int __thiscall (CGxFont *this, void *desc, uint32_t code)
Meaning
Rasterizes a glyph through the face into a descriptor
Confidence
verified, proof one
Finding
font/glyphs#finding-or-making-a-glyph

Finding: Finding or making a glyph in font: glyph cache and atlas

0x5cabd0(code) returns the cached descriptor of a character code, making it when missing. A hit moves the descriptor to the front of the recency list. A miss rasterizes the glyph, places it in a page (making a page if needed, evicting the least recently used glyph when the pages are full) and enters it in the hash.

The derivation is in the doc.

Callers 1

Callees 4

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