affinity: warn on converted artboard outlines

This commit is contained in:
Dylan M. Taylor
2026-11-14 00:29:55 +00:00
parent 8c7544ed2a
commit 02ae5fd404
+3
View File
@@ -306,6 +306,9 @@ impl Builder<'_> {
}
}
Kind::Artboard { rect, background, .. } => {
if n.class != craft_affinity::stream::Tag::of(b"ShpN") {
self.warn("a converted artboard outline (imported at its bounding box)");
}
let r = self.bbox(to_doc, *rect);
let bg = match background.first() {
Some(ap::Paint::Solid(c)) => {