benilla-re systems structs docs

ParseJustify

function · ui · orchestration

Address
0x6f1990 · 69 bytes, up to 0x6f19d4
Meaning
Maps a justify name, ignoring case, to its bit
Confidence
verified, proof one
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 8

Callees 1

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