vectorcraft/crates/render
bflatastic 33023c5a2b M4.98: freeform gradients export to SVG as images clipped to their shapes
SVG has no freeform shading: an object's freeform fill or stroke is now
written as an <image> of the colour field over its painted box, sampled
on the grid the canvas uses (twice the box's size in points), clipped to
the shape or to the stroke's outline, with the fill or stroke opacity and
blend mode on the group. Linked image mode writes the PNG next to the
SVG. Character paints keep the linear approximation (with a warning);
gradients along or across strokes stay vector slices. The grid sizing
moved to the colour crate so the canvas and the export share it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 13:25:16 +07:00
..
examples Robustness: VectorCraft never crashes — no panics in shipped code 2026-10-05 06:28:59 +07:00
src M4.98: freeform gradients export to SVG as images clipped to their shapes 2026-10-05 13:25:16 +07:00
tests M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
Cargo.toml M4.49: PNG-8 and GIF export with a palette quantizer and dithering 2026-10-05 11:26:15 +07:00