Skip to main content

Module cache

Module cache 

Source
Expand description

The layout cache. Every label on a sheet is laid out on every frame, and the text it is laid out from rarely changes, so a run is shaped once.

Structs§

Key 🔒
What a laid-out run is filed under. The two lengths are keyed by their bits: they are exactly as equal as the layouts they produce, and a font states its size as a float.
LayoutCache 🔒

Constants§

RUNS 🔒
How many runs to remember before starting over. A sheet’s labels are a few hundred; the rest is what editing them left behind.