MeasureRunFixed
function · font · primitive
- Address
0x5c7300· 343 bytes, up to0x5c7456- Signature
void __fastcall (void *arg1, const char *text, float size, int *bytes, float *width, const char **next, uint32_t flags)- Meaning
- Measures a fixed-width run to the next newline
- Confidence
- verified, proof one
- Finding
- font/measure#steps-along-a-line
- Test
font::measure_run_fixedwidth_difftest
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 1
- MeasureLineStep font
Callees 8
- sgetu8 unassigned
- GxuDetermineQuotedCode unassigned
- CGxFont::GetCharAdvance font
- CGxFont::ComputeStep font
- CGxFont::ComputeStepFixedWidth font
- CGxFont::NewCodeDesc font
- GxuFontGetPixelSize font
- _iswspace crt
Calls and jumps by a bare address, from tables/calls.tsv.