mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 01:15:25 +00:00
Type used as a clip group's clipping path, with a geometry effect on the object, on one of its fills or strokes, or a perspective, was baked into its outlined pieces with the effects applied, so SVG, PDF and the other exports clipped by all of them while the canvas clips by the plain glyph outlines. The baked clipping path was also a group, so the type's fills and strokes were not painted. bake_node now bakes such a clip group as the canvas draws it: the clipping path is a path of the region effects::clip_outline gives, the type's fills (effects baked) paint behind the clipped art inside the clip, and its strokes paint over it outside the clip, in a group that keeps the clip group's id and transparency.