mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
When a live-effect plug-in returned a piece whose effects list a raster effect before a Transform effect that makes copies, the Transform effect copied the bare geometry and the raster effect was drawn once around all of the copies. dress_piece applied the piece's geometry effects to its geometry alone and kept every raster effect on the group around them. dress_piece now builds such a piece through copied_raster_art, as an object's copies are built: each copy carries its own raster effects, moved, turned, reflected and scaled with it. copied_raster_art takes an optional budget and completion flag, so the piece still keeps to the room it is given and is refused when its copies or its geometry effects would stop short. The piece's fills and strokes keep their own effects for their own stage.