mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
Export Selection, Asset Export, the Assets tab of Export for Screens and the rasterized art of CSS Properties cropped each object to its visual bounds, which leave out live effects. A path with an 8 pt drop shadow was exported with the shadow cut off at the path's edge, and a group's own shadow was cut off the same way. The crop is now the bounds the renderer measures for what it draws (`vectorcraft_render::effect_bounds`): `painted_bounds` without its room for brush art. A brushed path is cropped to its visual bounds as before, and a Shaper group leaves out its transparent source art as its visual bounds do. `assets.list` reports the same crop. The renderer measures a shadow's or glow's reach on every side of the object, so the image also has transparent room on the side away from an offset shadow. Docs: docs/mcp.md, docs/target-app-parity.md.