benilla-re systems structs docs

CSimpleFrame::GetHitRect

function · ui · orchestration

Address
0x76b220 · 58 bytes, up to 0x76b259
Meaning
Copies the hit rectangle and answers whether the layout is valid
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.