From 02ead80143e7082dee86522ac65a59443428bd7b Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 14 Aug 2020 03:01:08 +0000 Subject: CTAN sync 202008140301 --- dviware/dvisvgm/src/PathClipper.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dviware/dvisvgm/src/PathClipper.hpp') diff --git a/dviware/dvisvgm/src/PathClipper.hpp b/dviware/dvisvgm/src/PathClipper.hpp index e3e6bd1681..7c42f5de6d 100644 --- a/dviware/dvisvgm/src/PathClipper.hpp +++ b/dviware/dvisvgm/src/PathClipper.hpp @@ -36,9 +36,11 @@ class PathClipper { using CurvedPath = GraphicsPath; public: - void intersect (const CurvedPath &p1, const CurvedPath &p2, CurvedPath &result); + CurvedPath intersect (const CurvedPath &p1, const CurvedPath &p2); + CurvedPath unite (const CurvedPath &p1, const CurvedPath &p2); protected: + CurvedPath combine (ClipperLib::ClipType op, const CurvedPath &p1, const CurvedPath &p2); void flatten (const CurvedPath &gp, ClipperLib::Paths &polygons); void reconstruct (const ClipperLib::Path &polygon, CurvedPath &path); void reconstruct (const ClipperLib::Paths &polygons, CurvedPath &path); -- cgit v1.2.3