SeatNamePlate
function · ui · primitive
- Address
0x509ec0· 401 bytes, up to0x50a050- Meaning
- Solves one axis of a nameplate's seat and anchors it
- Confidence
- verified, proof one
- Finding
- ui/smartrect#the-nameplate-seat
- Test
ui::glue_509_509ec0_axis_resolve
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 1
- LayoutNamePlates objectlayer
Callees 7
- MultiplyByScreenScaleX screencoord
- MultiplyByScreenScaleY screencoord
- ClaimRect ui
- SolveRectCenter ui
- ClampRectToScreen ui
- CLayoutFrame::SetPoint ui
- CLayoutFrame::ClearAllPointsThunk ui
Calls and jumps by a bare address, from tables/calls.tsv.