GxuFontGetMaxCharsWithinHeight
function · unassigned · primitive
- Address
0x5c21c0· 339 bytes, up to0x5c2312- Signature
int __fastcall (void *arg1, const char *text, float size, float width, float height, void *arg6, float arg7, float gap, uint32_t flags)- Meaning
- Counts the characters that fit a height
- Confidence
- verified, proof one
- Finding
- font/measure#block-height-and-fit
- Test
font::font_height_fit_difftest
Finding: Block height and fit in font: measuring and wrapping text
0x5c2070 returns the height of a wrapped text: the number of lines N times the size plus the
line gap between them. 0x5c21c0 counts how many characters fit a given height.
The derivation is in the doc.
Callers 1
- TextBlockGetMaxCharsWithinHeight unassigned
Callees 3
- __ftol crt
- GxuFontGetOneToOneHeight unassigned
- MeasureLineStep font
Calls and jumps by a bare address, from tables/calls.tsv.