benilla-re systems structs docs

CLayoutFrame::SetLayoutScale

function · ui · primitive

Address
0x768360 · 110 bytes, up to 0x7683cd
Meaning
Stores a nonzero scale that changed by 2^-22 or more, invalidating the rectangle
Confidence
verified, proof two
Finding
ui/anchors#size-scale-and-stored-rectangle
Test
ui::glue_767_768360_rsub_change_detect

Finding: Size, scale and stored rectangle in ui: anchors and layout

Setting the width (+0x50) or height (+0x54) clears flag 8 and lays the frame out. Setting the scale refuses 0 with error 0x57, ignores a change below 2⁻²² unless forced, and otherwise stores it, zeroes the rectangle, clears flag 1 and lays the frame out. Reading the rectangle copies +0x40 to +0x4c and answers flag 1. A point is inside the rectangle when left ≤ x ≤ right and bottom ≤ y ≤ top; NaN is outside. Flag 0x10 is set and cleared by 0x768cc0, which lays the frame out.

The derivation is in the doc.

Callers 2

Callees 2

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