mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 14:06:09 +00:00
.cmx exchange files with 32-bit coordinates open and place as editable art. vectorcraft-cdr reads the RIFF form CMX1, its header, the color, pen, line type, dash, outline and arrowhead tables, and each page's instructions in drawing order, into the drawing model the .cdr reader uses, so the importer maps pages, layers, groups and curves with uniform fills and outlines the same way. A layer that holds nothing is left out. A page that gives no size of its own takes the size of the drawing's bounds, which the page header stores, and is centered on them. Text, images, rectangles, ellipses, clipping paths, fills other than uniform ones and arrowheads are left out, and lenses are not applied; the warnings name each kind, with rows in every complete catalog. Big-endian files and files with 16-bit coordinates are refused with a message. Layouts and their sources are rows R53 to R63 of crates/cdr/PROVENANCE.md; tests use synthetic files only.