CSimpleFontString::GetCachedHeight
function · ui · primitive
- Address
0x7729b0· 170 bytes, up to0x772a59- 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
- CSimpleFontString::GetHeight ui
- CSimpleEditBox::RebuildLabel ui
- CSimpleMessageScrollFrame::LayoutLines ui
Callees 5
- 0x44d750 unassigned
- CLayoutFrame::GetHeight ui
- CLayoutFrame::GetWidth ui
- CSimpleFontString::FitText ui
- CSimpleFontString::GetTextHeight ui
Calls and jumps by a bare address, from tables/calls.tsv.