CSimpleFontString::ApplyShadow
function · ui · primitive
- Address
0x7722a0· 231 bytes, up to0x772386- Meaning
- Sets the shadow bit and passes the shadow colour and offset to the attached font
- 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 4
- CSimpleFontString::ApplyFontBlock ui
- CSimpleFontString::LoadXML ui
- CSimpleFontString::SetShadowOffset ui
- CGNamePlateFrame::CGNamePlateFrame ui
Callees 2
- TextBlockSetShadow unassigned
- CopyColor gx
Calls and jumps by a bare address, from tables/calls.tsv.