mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-03 00:39:44 -06:00
The SVG export blurs a spread drop shadow in a filter whose region is the silhouette's page bounds grown by the spread's mitre and the blur. The spread grows the outline in the node's own units, though, and the transform then scales it: on a star scaled three times, a spread of 10 mitred out to some 97 units while the region only made room for 48, so SVG viewers cut the shadow's points off. The spread now grows the region as far across and down as the transform takes a local step of that length, as the paint bounds already do. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>