diff options
author | jaseg <git@jaseg.de> | 2021-01-30 15:18:56 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-01-30 15:18:56 +0100 |
commit | f88134f9caccafd30f4598cdb583e5fcd6585c55 (patch) | |
tree | 00a1d7f341706a649291b8b1beb568239716a17f /src/svg_doc.cpp | |
parent | a6540b73dabc3af766643657b226f942ef05656c (diff) | |
download | gerbolyze-f88134f9caccafd30f4598cdb583e5fcd6585c55.tar.gz gerbolyze-f88134f9caccafd30f4598cdb583e5fcd6585c55.tar.bz2 gerbolyze-f88134f9caccafd30f4598cdb583e5fcd6585c55.zip |
Add dilation option
Diffstat (limited to 'src/svg_doc.cpp')
-rw-r--r-- | src/svg_doc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |