v0.3.1
v0.3.1
Added
- PNG raster export —
--format pngon the CLI, orDrawing.export(formats=("png",)). Rides the SVG→PDF→PNG chain via pypdfium2 (Google PDFium, BSD-3) + Pillow (HPND) — permissive, pure-wheel, no native cairo, dual-license-clean.
Changed
- Unified export API —
Drawing.export(out, *, formats=…, dpi=…) → {format: path}. Intermediate SVG/PDF are routed through a temp dir, so exporting one format never clobbers another format's existing output.
Deprecated
Drawing.export_pdf()(useexport(formats=("pdf",))) and the legacy positionalexport(svg=, dxf=)tuple form.
Also lands the #635 consolidation epic (all six children) — internal, behaviour-preserving (byte-identical golden), no output change.