benilla-re systems structs docs

CLayoutFrame::SetPoint

function · ui · primitive

Address
0x767c70 · 245 bytes, up to 0x767d64
Meaning
Sets a point relative to another frame and point with an offset, recording the dependency
Confidence
verified, proof two
Finding
ui/anchors#absolute-and-relative-points
Test
ui::glue_767_767c70_anchor_change_detect

Finding: Absolute and relative points in ui: anchors and layout

SetPoint (0x767c70; point, relative frame, relative point, x, y, resize flag) refuses a null relative frame or the frame itself with error 0x57, and changes nothing when the slot holds a point to the same frame and point with both offsets less than 2⁻²² from the new ones. Otherwise it frees the old point, telling its relative frame (Dependents), allocates a 0x14-byte relative point {vtable 0x81c44c, x, y, frame, point}, clears flag 8, records itself as a dependent of the relative frame with mask 1 << point, and lays itself out when the flag is set. The unreached 0x767b50 stores a 12-byte absolute point {vtable 0x81c42c, x, y}, that vtable's one store (0x767bab).

The derivation is in the doc.

Callers 35

Callees 5

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