benilla-re systems structs docs

s_pointXCaseIndex

global · ui

Address
0x7a3060 · 9 bytes, up to 0x7a3068
Type
uint8_t[9]
Meaning
Holds the case of each anchor point for the x getter: 0, 1, 2 repeated
Confidence
verified, proof two
Finding
ui/anchors#relative-point-coordinates

Finding: Relative point coordinates in ui: anchors and layout

For the anchoring frame's scale s, a relative point's x is s·x plus the relative frame's left edge for points 0, 3 and 6, its centre (right + left)·0.5 for 1, 4 and 7 and its right edge for 2, 5 and 8; y is s·y plus the top for 0 to 2, the centre for 3 to 5 and the bottom for 6 to 8. A deferred relative frame first has its deferral ended for good and is laid out if pending; with no valid rectangle the result is +∞. When its slot 0x24 answers nonzero, its rectangle is first moved so that its left (for x) or bottom (for y) is 0.

The derivation is in the doc.