aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2024-09-23 22:45:09 +0200
committerjaseg <git@jaseg.de>2024-09-23 22:45:09 +0200
commit67e4563a8f07fa8d9f566dbeb84bcc4b9ccb90ee (patch)
treeeef7f0c8604ed754f56d3e59d4f70f994ba93d6c
parentd6ca9cdf71f3c4f06797fb5459127cfe1cd55e9d (diff)
downloadgerbolyze-67e4563a8f07fa8d9f566dbeb84bcc4b9ccb90ee.tar.gz
gerbolyze-67e4563a8f07fa8d9f566dbeb84bcc4b9ccb90ee.tar.bz2
gerbolyze-67e4563a8f07fa8d9f566dbeb84bcc4b9ccb90ee.zip
svg-flatten: Fix pattern stroke rendering
We applied a transform backwards
-rw-r--r--svg-flatten/src/svg_doc.cpp2
1 files changed, 1 insertions, 1 deletions
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);