benilla-re systems structs docs

CSimpleFrame::GetHitRectInsets

function · ui · orchestration

Address
0x76b1e0 · 51 bytes, up to 0x76b212
Meaning
Writes the four hit insets
Confidence
verified, proof one
Finding
ui/input#hit-test

Finding: Hit test in ui: input, hit testing and focus

A frame contains a point when its rectangle is valid and left ≤ x ≤ right and bottom ≤ y ≤ top hold for its hit rectangle, the layout rectangle moved inward by the hit insets times the layout scale; a NaN coordinate fails. A frame that draws itself (bit 0x2000) is tested against the intersection of its own hit rectangle with that of its nearest ancestor that does not draw itself, and contains nothing without such an ancestor.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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