PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
Integration: #2974 tiling early return in set_paint returns PaintSetup::Clip (#3296's return type)
aionggded4bee6b8f0
diff --git a/vendor/hayro/src/renderer.rs b/vendor/hayro/src/renderer.rsindex 4e0cbe66e..7f6eb88bd 100644--- a/vendor/hayro/src/renderer.rs+++ b/vendor/hayro/src/renderer.rs@@ -1295,7 +1295,7 @@ impl Renderer {};self.ctx.set_paint_transform(paint_transform);self.ctx.set_paint(PaintType::Image(image));- return clip_path;+ return PaintSetup::Clip(clip_path);}// PdfCraft patch: the cell pixmap is `step × scale` pixels, which only the// u16 cast below bounded (a fuzzed /XStep far beyond /BBox gave 65535² cells).