M13.12: pdf knockout/isolated transparency groups, group alpha and masks on group results

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-03 08:46:41 -04:00
co-authored by Claude Opus 5.5
parent b0b8d4c01a
commit d15b69c734
6 changed files with 296 additions and 22 deletions
+2
View File
@@ -62,6 +62,8 @@ impl Builder {
pub fn clip(&mut self, path: BezPath, rule: FillRule) {
let mut g = group("Clip Group");
g.clip.push((path, rule));
// Clipping is not a transparency group: blend modes inside reach the backdrop.
g.isolated = false;
self.stack.push((g, Kind::Clip));
}