From f88134f9caccafd30f4598cdb583e5fcd6585c55 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 30 Jan 2021 15:18:56 +0100 Subject: Add dilation option --- src/svg_doc.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/svg_doc.cpp') diff --git a/src/svg_doc.cpp b/src/svg_doc.cpp index 21af576..3b253be 100644 --- a/src/svg_doc.cpp +++ b/src/svg_doc.cpp @@ -301,6 +301,7 @@ void gerbolyze::SVGDocument::export_svg_path(const RenderSettings &rset, const p if (stroke_color && stroke_width > 0.0) { ClipperOffset offx; + offx.ArcTolerance = 0.01 * clipper_scale; /* 10µm; TODO: Make this configurable */ /* For stroking we have to separately handle open and closed paths */ for (const auto &poly : closed_paths) { -- cgit