MeasureLineStep
function · font · orchestration
- Address
0x5c7260· 148 bytes, up to0x5c72f3- Signature
void __fastcall (void *arg1, const char *text, float size, float box, int *bytes, float *width, const char **next, float extra, uint32_t flags, uint8_t *broke)- Meaning
- Measures one line by the fixed or proportional run
- Confidence
- verified, proof one
- Finding
- font/measure#steps-along-a-line
Finding: Steps along a line in font: measuring and wrapping text
0x5c7260 measures one line step for a text. It chooses the fixed-width run 0x5c7300 for flag
0x80 and the proportional run 0x5c7470 otherwise, and zeroes its outputs when a gate fails
(Line step gates). Each returns the bytes consumed, the width and the start of the next line.
The derivation is in the doc.
Callers 4
- GxuFontGetTextBlockHeight unassigned
- GxuFontGetMaxCharsWithinHeight unassigned
- GxuFontEnumerateLines unassigned
- CGxString::LayoutLines font
Callees 2
- MeasureRunFixed font
- MeasureRunProportional font
Calls and jumps by a bare address, from tables/calls.tsv.