benilla-re systems structs docs

SnapViewportRect

function · font · primitive

Address
0x5c70b0 · 424 bytes, up to 0x5c7257
Signature
void __cdecl (void)
Meaning
Rounds the viewport rectangle to pixels and installs its orthographic matrix
Confidence
verified, proof one
Finding
font/measure#viewport-rectangle

Finding: Viewport rectangle in font: measuring and wrapping text

0x5c70b0 rounds a screen-fraction viewport rectangle to whole pixels before the device sets it.

The derivation is in the doc.

Callers 1

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.