MeasureTextExtent
function · font · primitive
- Address
0x5c6940· 523 bytes, up to0x5c6b4a- Signature
void __fastcall (void *font, const char *text, int32_t bytes, float size, float *width, uint32_t flags, float extra)- Meaning
- Stores the width of the widest line of a text through a pointer
- Confidence
- verified, proof one
- Finding
- font/measure#text-extent
- Test
font::text_extent_measure_difftest
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 1
- GxuFontGetTextExtent unassigned
Callees 11
- GxuFontGetOneToOneHeight unassigned
- GxuDetermineQuotedCode unassigned
- CGxFont::GetCharAdvance font
- ScreenToPixelHeight font
- ScreenToPixelWidth font
- CGxFont::ComputeStep font
- CGxFont::ComputeStepFixedWidth font
- CGxFont::NewCodeDesc font
- GxuFontGetPixelSize font
- SErrSetLastError storm
- ceil crt
Calls and jumps by a bare address, from tables/calls.tsv.