mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-07 23:00:35 +00:00
In `.ai` and EPS editing-data import, a clipping group, layer or opacity mask's art that holds more than one clipping path (`W`) now clips to the intersection of the paths, as each `W` intersects the current clip (AI7 spec section 5.6.2, https://13thmonkey.org/documentation/fonts/AI7FileFormat.pdf). Before, the paths were joined into one compound path, which clipped to their union, and kept a stroke only when every path had the same one. Each clipping path after the first clips a clipping group nested inside the one before it, and keeps its own stroke, opacity and blend mode. The innermost clipping group holds the art in the order written; as before, every object in the group is clipped by all of its clipping paths. A clipping path's painted fill stays at its path's level. A compound path of clipping paths (`*u` ... `*U`) is still one clipping path. Clipping paths that would nest the art past the document's 32 levels stop the editing data from being read.