From a6adfe4d1d19096b45a5db144dd135b3fcf94371 Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 22 Mar 2023 12:12:40 +0100 Subject: svg-flatten: Add input scaling --- svg-flatten/include/gerbolyze.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svg-flatten/include') diff --git a/svg-flatten/include/gerbolyze.hpp b/svg-flatten/include/gerbolyze.hpp index 06cbebc..8bd948a 100644 --- a/svg-flatten/include/gerbolyze.hpp +++ b/svg-flatten/include/gerbolyze.hpp @@ -264,8 +264,8 @@ namespace gerbolyze { SVGDocument() : _valid(false) {} /* true -> load successful */ - bool load(std::istream &in); - bool load(std::string filename); + bool load(std::istream &in, double scale=1.0); + bool load(std::string filename, double scale=1.0); /* true -> load successful */ bool valid() const { return _valid; } operator bool() const { return valid(); } -- cgit