aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/svg_path.h
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2021-02-17 18:33:31 +0100
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2021-02-17 18:33:31 +0100
commitf9c5c00f513e6c6be70b033782976fd109eb4ac9 (patch)
tree2ecfeff36cd18cb3feb51a5383ff49cc1f73dce3 /svg-flatten/src/svg_path.h
parent901efc75c6fb7d31a4549f876f8b780f2728ae28 (diff)
downloadgerbolyze-f9c5c00f513e6c6be70b033782976fd109eb4ac9.tar.gz
gerbolyze-f9c5c00f513e6c6be70b033782976fd109eb4ac9.tar.bz2
gerbolyze-f9c5c00f513e6c6be70b033782976fd109eb4ac9.zip
svg-flatten: Fix fill-rule handling for filled open paths
Diffstat (limited to 'svg-flatten/src/svg_path.h')
-rw-r--r--svg-flatten/src/svg_path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/svg-flatten/src/svg_path.h b/svg-flatten/src/svg_path.h
index 9c65fdd..689af63 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);
+void load_svg_path(cairo_t *cr, const pugi::xml_node &node, ClipperLib::PolyTree &ptree_stroke, ClipperLib::PolyTree &ptree_fill);
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);
}