CSimpleFontString::GetWidth
function · ui · primitive
- Address
0x772930· 113 bytes, up to0x7729a0- Signature
float __thiscall (CSimpleFontString *this)- Meaning
- Returns the authored width, or the text width, floored at one interface unit
- Confidence
- verified, proof two
- Finding
- ui/regions#a-font-strings-size
- Test
ui::textglue_set_scaled_chain
Finding: A font string's size in ui: regions in the layout
A font string's width is the authored width, or when that is exactly 0.0 the width of its text, and is never less than one interface unit; its height likewise. A single anchor therefore always fixes the opposite edge of a font string.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- GetScaledScreenAspect screencoord
- MultiplyByScreenScaleX screencoord
- CLayoutFrame::GetWidth ui
- CSimpleFontString::GetCachedWidth ui
Calls and jumps by a bare address, from tables/calls.tsv.