Merge pull request #7060 from dotCooCoo/fix/dcs-regained-clip

Place: a DCS file that regains its clipping path clips the group that stayed
This commit is contained in:
BFlat
2026-11-13 15:04:28 +07:00
committed by GitHub
4 changed files with 139 additions and 20 deletions
+1 -1
View File
@@ -6072,7 +6072,7 @@ while such an image that the art shows has a plate of its name; deleting the swa
file's composite is drawn through clips the image (a clipping group, its path under the nonzero fill rule, an even-odd
clipping path kept as the same area), and `file.place` answers the image's id as
`image`, since the Links commands take the image and not the group. `links.update` and `links.relink` clip the image
by the file's clipping path again (in a new clipping group when none holds it, and inside a clipping mask made in the
by the file's clipping path again (a plain group holding just the image becomes its clipping group, a new clipping group holds it when no group does, and it goes inside a clipping mask made in the
document, whose path is kept), unless Placement Options clip the image, the same way for the images in symbols, graph designs, patterns and opacity masks; when the new file has no
clipping path, a clipping group holding just the image whose path is the old file's clipping path loses that path and
stays as a plain group of the image, with its id, name, visibility and transparency (one whose path was given the