benilla-re systems structs docs

CGxFont::GetCharAdvance

function · font · primitive

Address
0x5c6b70 · 217 bytes, up to 0x5c6c48
Signature
float __fastcall (CGxFont *arg1, uint32_t cur, const char *next, float size, uint32_t flags)
Meaning
Returns a glyph's advance in pixels
Confidence
verified, proof one
Name from
the community database (idb)
Finding
font/metrics#advance-of-a-glyph
Test
font::char_advance_difftest

Finding: Advance of a glyph in font: scaling, advances and metrics

0x5c6b70 returns a glyph's total advance in pixels: its width metric plus its integer pixel advance [desc + 0x48], or the explicit kerning when the text names a pair.

The derivation is in the doc.

Callers 4

Callees 5

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