From 018748aa237f94a94bfb7e98cc5f7833bc236473 Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 4 Jun 2021 16:39:05 +0200 Subject: Fix handling of dashes and joins, all tests run through now --- svg-flatten/src/svg_path.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svg-flatten/src/svg_path.h') diff --git a/svg-flatten/src/svg_path.h b/svg-flatten/src/svg_path.h index 611f517..c0b2d88 100644 --- a/svg-flatten/src/svg_path.h +++ b/svg-flatten/src/svg_path.h @@ -23,7 +23,7 @@ #include "geom2d.hpp" namespace gerbolyze { -void load_svg_path(xform2d &mat, const pugi::xml_node &node, ClipperLib::PolyTree &ptree_stroke, ClipperLib::PolyTree &ptree_fill, double curve_tolerance); +void load_svg_path(xform2d &mat, const pugi::xml_node &node, ClipperLib::Paths &stroke_open, ClipperLib::Paths &stroke_closed, ClipperLib::PolyTree &ptree_fill, double curve_tolerance); void parse_dasharray(const pugi::xml_node &node, std::vector &out); void dash_path(const ClipperLib::Path &in, ClipperLib::Paths &out, const std::vector dasharray, double dash_offset=0.0); } -- cgit