CGxString::ComputeAnchor
function · font · primitive
- Address
0x5cdf70· 274 bytes, up to0x5ce081- Signature
void __thiscall (CGxString *this)- Meaning
- Turns the position into the pixel-snapped screen anchor
- Confidence
- verified, proof one
- Finding
- font/string#anchor-and-justification
- Test
font::anchor_justify_snap_difftest
Finding: Anchor and justification in font: strings and their layout
0x5cdf70 turns the string's position into the screen anchor +0x70 to +0x78 by its justification.
With no layout (+0x9c == 0) or a pre-snapped string (negative flags byte) the anchor is the
position, unchanged.
The derivation is in the doc.
Callers 2
- CGxString::SetPosition font
- CGxString::LayoutLines font
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.