SolveRectCenter
function · ui · primitive
- Address
0x509720· 120 bytes, up to0x509797- Meaning
- Solves a rectangle's centre and flags a change, taking a midpoint
- Confidence
- verified, proof one
- Finding
- ui/smartrect#the-nameplate-seat
- Test
ui::glue_509_509720_midpoint
Finding: The nameplate seat in ui: the screen rectangle placement
A nameplate is seated top anchored under its point: the desired rectangle hangs from the projected
point, is normalised, searched against list 0, its top clamped to [halfH, K2 − halfH] and its
centre to [halfW, K1 − halfW], and claimed. The frame is then anchored by its top to the root's
bottom left at the clamped centre and top. The claimed rectangle can differ from the drawn one.
The derivation is in the doc.
Callers 2
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.