mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
An envelope whose file saves the size of its contents with their strokes maps from that box, with margins stored as shares of the contents' height and width. A straight line along an axis has no height (or no width), so it got no margins and mapped from its zero-height geometric box instead. Margins along a side with no length are now shares of the other side's length (envelope_margin_lengths). The reader, the envelope's map, leaving Edit Contents and the .ai writer all measure through it, so a stroked line opens mapping from its stroked box and saves that box's size again. Docs: object.envelope.info params text, docs/mcp.md, docs/target-app-parity.md.