benilla-re systems structs docs

CSimpleFontString::GetCachedHeight

function · ui · primitive

Address
0x7729b0 · 170 bytes, up to 0x772a59
Meaning
Returns the text height in layout units, measuring and caching it when none is cached
Confidence
verified, proof one
Finding
ui/tooltipcontent#the-spacer-line
Test
ui::textglue_scale_mul

Finding: The spacer line in ui: Tooltip lines, colours and sizing

A blank line in a tooltip is written as a space and a newline and is one line tall, not two. The newline that ends the text opens no further line, and the empty string adds no line at all, so no builder or caller can ask for a line of zero height. The item set block passes this literal twice, in gold with wrap on. A font string never reads back a height below one interface unit.

The derivation is in the doc.

Callers 3

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.