diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2021-02-17 18:58:11 +0100 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2021-02-17 18:58:11 +0100 |
commit | da9d7280d5d099c65f3e8d134a60b4778a5bcfb2 (patch) | |
tree | 935676348176d3a06032ff4ac4440081a59a17bd /svg-flatten/src/svg_path.h | |
parent | f9c5c00f513e6c6be70b033782976fd109eb4ac9 (diff) | |
download | gerbolyze-da9d7280d5d099c65f3e8d134a60b4778a5bcfb2.tar.gz gerbolyze-da9d7280d5d099c65f3e8d134a60b4778a5bcfb2.tar.bz2 gerbolyze-da9d7280d5d099c65f3e8d134a60b4778a5bcfb2.zip |
svg-flatten: add curve flattening tolerance command line param
Diffstat (limited to 'svg-flatten/src/svg_path.h')
-rw-r--r-- | svg-flatten/src/svg_path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svg-flatten/src/svg_path.h b/svg-flatten/src/svg_path.h index 689af63..2ab29ec 100644 --- a/svg-flatten/src/svg_path.h +++ b/svg-flatten/src/svg_path.h @@ -23,7 +23,7 @@ #include "svg_geom.h" namespace gerbolyze { -void load_svg_path(cairo_t *cr, const pugi::xml_node &node, ClipperLib::PolyTree &ptree_stroke, ClipperLib::PolyTree &ptree_fill); +void load_svg_path(cairo_t *cr, const pugi::xml_node &node, ClipperLib::PolyTree &ptree_stroke, ClipperLib::PolyTree &ptree_fill, double curve_tolerance); void parse_dasharray(const pugi::xml_node &node, std::vector<double> &out); void dash_path(const ClipperLib::Path &in, ClipperLib::Paths &out, const std::vector<double> dasharray, double dash_offset=0.0); } |