FontMethods::GetSpacing
function · ui · primitive
- Address
0x79fbe0· 58 bytes, up to0x79fc19- Meaning
- Returns the line spacing converted from layout units to Lua units
- Confidence
- verified, proof one
- Finding
- ui/fontmethods#shadow-offsets-and-spacing
Finding: Shadow offsets and spacing in ui: font accessors from Lua
SetShadowOffset(x, y) needs two numbers and raises Usage: %s:SetShadowOffset(x, y) otherwise; SetSpacing(s) needs one and raises
Usage: %s:SetSpacing(spacing). A stored spacing within 2^-22 of the new one is kept when the spacing group's set bit 0x1000 is already set (0x79fb9a). On a
FontString, SetShadowColor only stores the colour; SetShadowOffset(0, 0) clears the shadow bit 0x100 of +0x120, and any other
offset sets it, so a shadow is drawn only after a nonzero offset.
The derivation is in the doc.
Callers 5
- ScrollingMessageFrame::GetSpacing ui
- MessageFrame::GetSpacing ui
- SimpleHTML::GetSpacing ui
- EditBox::GetSpacing ui
- FontInstance::GetSpacing ui
Callees 3
- GetScaledScreenAspect screencoord
- DivideByScreenScaleX screencoord
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.