aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/include/gerbolyze.hpp
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-03-22 12:12:40 +0100
committerjaseg <git@jaseg.de>2023-03-22 23:27:12 +0100
commita6adfe4d1d19096b45a5db144dd135b3fcf94371 (patch)
treedaca490fe3aae57291444eb463f770271b35c705 /svg-flatten/include/gerbolyze.hpp
parent70a7a0aa95282370a2c1c1aad4db556319770a18 (diff)
downloadgerbolyze-a6adfe4d1d19096b45a5db144dd135b3fcf94371.tar.gz
gerbolyze-a6adfe4d1d19096b45a5db144dd135b3fcf94371.tar.bz2
gerbolyze-a6adfe4d1d19096b45a5db144dd135b3fcf94371.zip
svg-flatten: Add input scaling
Diffstat (limited to 'svg-flatten/include/gerbolyze.hpp')
-rw-r--r--svg-flatten/include/gerbolyze.hpp4
1 files changed, 2 insertions, 2 deletions
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(); }