s_viewportCache
global · font
- Address
0xc2b82c· 16 bytes, up to0xc2b83b- Type
float[4]- Meaning
- Holds the last viewport rectangle seen
- Confidence
- verified, proof one
- Finding
- font/metrics#viewport-size
Finding: Viewport size in font: scaling, advances and metrics
0x5c2b50 recomputes the two pixel sizes from the device's viewport rectangle and, when the
rectangle changed, re-lays every font.
The derivation is in the doc.