FontString::GetJustifyH
function · ui · primitive
- Address
0x79e5f0· 191 bytes, up to0x79e6ae- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the FontString method GetJustifyH, its pair in the table 0x87c1d8
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/fontstring#justify
Finding: Justify in ui: FontString and Font
The word +0x120 keeps the horizontal justify in bits 0 to 2 (LEFT 1, CENTER 2, RIGHT 4) and
the vertical in bits 3 to 5 (TOP 8, MIDDLE 0x10, BOTTOM 0x20). SetJustifyH and
SetJustifyV accept any of the six names, ignoring case, keep only their own axis's bits, so a
name of the other axis clears the axis, and stop the axis from following the font. A getter
answers the first name whose bit is set, in the order above, else UNKNOWN. A name not in the six
raises a usage error.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- GetJustifyName ui
- lua_settop lua
- lua_type lua
- lua_touserdata lua
- lua_pushstring lua
- lua_rawgeti lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.