Files
lightcraft/docs
Atmik Shetty 4f1ed6df65 LRC-PRINT-LAYOUT: the print layout model (paper, margins, grid, package cells, packer, snapping)
crates/engine/src/print/layout.rs is the pure page model the Print module
builds on: ten named papers plus custom, orientation, margins and the
printable area; Single Image, Contact Sheet (grid with spacing and square
cells), Picture Package and Custom Package styles; package cells with a
stacking order (send to back / backward / forward / bring to front); a
deterministic MaxRects packer behind Auto Layout (largest first, earlier
pages filled before a new one opens, a cell turned a quarter only when it
fits nowhere as given); snap-to-cells and snap-to-grid helpers; ruler units
and guide options.

All lengths are inches in page space, after orientation. Every number from
outside is checked (NaN, infinity, negative, oversized, cell and page caps)
and Layout::validate guards saved layouts.

No command or UI reaches it yet, so the parity rows keep their status.
2026-10-12 14:21:42 +05:30
..
2026-10-11 12:02:46 +00:00
2026-10-11 11:58:15 +00:00
2026-10-11 11:49:37 +00:00
2026-10-11 11:50:06 +00:00
2026-10-11 12:02:46 +00:00
2026-10-08 20:20:17 +00:00
2026-10-09 20:56:56 -04:00
2026-10-11 12:43:20 +00:00
2026-10-11 12:03:53 +00:00
2026-10-11 12:02:46 +00:00
2026-10-11 12:40:55 +00:00
2026-10-11 12:43:20 +00:00
2026-10-11 12:38:16 +00:00