svg-flatten: Fix pattern stroke rendering

We applied a transform backwards
This commit is contained in:
jaseg 2024-09-23 22:45:09 +02:00
parent d6ca9cdf71
commit 67e4563a8f

View file

@ -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);