GxuFontGetTextExtent
function · unassigned · orchestration
- Address
0x5c2050· 32 bytes, up to0x5c206f- Signature
void __fastcall (void *font, const char *text, int32_t bytes, float size, float *width, float extra, float unused, uint32_t flags)- Meaning
- Stores the width of a text through 0x5c6940
- Confidence
- inferred
- Finding
- font/measure#text-extent
Finding: Text extent in font: measuring and wrapping text
0x5c6940(text, bytes, size, &width, flags, extra) stores in width the width of the widest line of the
first bytes bytes of a text, as a fraction of the screen width (in pixels when flag 0x80 is set).
The derivation is in the doc.
Callers 4
- TextBlockGetTextExtent unassigned
- CGxString::DumpText font
- PaintText console
- WORLDTEXTSTRING::Rebuild playername
Callees 1
- MeasureTextExtent font
Calls and jumps by a bare address, from tables/calls.tsv.