benilla-re systems structs docs

FontString::SetShadowOffset

function · ui · primitive

Address
0x79e070 · 338 bytes, up to 0x79e1c1
Signature
int __fastcall (lua_State *L)
Meaning
Sets the shadow offset of a font string and its shadow bit from two numbers
Confidence
verified, proof one
Name from
the community database (idb)
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 0

None by a direct call or jump.

Callees 10

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