From 67e4563a8f07fa8d9f566dbeb84bcc4b9ccb90ee Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 23 Sep 2024 22:45:09 +0200 Subject: svg-flatten: Fix pattern stroke rendering We applied a transform backwards --- svg-flatten/src/svg_doc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svg-flatten') diff --git a/svg-flatten/src/svg_doc.cpp b/svg-flatten/src/svg_doc.cpp index 00a837f..935ae2e 100644 --- a/svg-flatten/src/svg_doc.cpp +++ b/svg-flatten/src/svg_doc.cpp @@ -550,7 +550,7 @@ void gerbolyze::SVGDocument::export_svg_path(RenderContext &ctx, const pugi::xml } else { Paths clip; PolyTreeToPaths(ptree, clip); - ctx.mat().phys2doc_clipper(clip); + ctx.mat().doc2phys_clipper(clip); RenderContext local_ctx(ctx, xform2d(), clip, true); pattern->tile(local_ctx); -- cgit