aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/svg_doc.cpp
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-20 16:19:53 +0200
committerjaseg <git@jaseg.de>2022-06-20 16:19:53 +0200
commit9e9cc2bc019f0e67720ad5da16315e7cd6781e78 (patch)
treedd0531eef230fa8042143019db669e2841170f8a /svg-flatten/src/svg_doc.cpp
parent0e1c8507bbda04f131ae0733e38b5f18996531b1 (diff)
downloadgerbolyze-9e9cc2bc019f0e67720ad5da16315e7cd6781e78.tar.gz
gerbolyze-9e9cc2bc019f0e67720ad5da16315e7cd6781e78.tar.bz2
gerbolyze-9e9cc2bc019f0e67720ad5da16315e7cd6781e78.zip
svg-flatten: add export of patterns via aperture macros
Diffstat (limited to 'svg-flatten/src/svg_doc.cpp')
-rw-r--r--svg-flatten/src/svg_doc.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/svg-flatten/src/svg_doc.cpp b/svg-flatten/src/svg_doc.cpp
index e8c02db..7716a2e 100644
--- a/svg-flatten/src/svg_doc.cpp
+++ b/svg-flatten/src/svg_doc.cpp
@@ -557,3 +557,14 @@ gerbolyze::RenderContext::RenderContext(RenderContext &parent, xform2d transform
m_mat.transform(transform);
}
+gerbolyze::RenderContext::RenderContext(RenderContext &parent, PolygonSink &sink, ClipperLib::Paths &clip) :
+ m_sink(sink),
+ m_settings(parent.settings()),
+ m_mat(parent.mat()),
+ m_root(false),
+ m_included(false),
+ m_sel(parent.sel()),
+ m_clip(clip)
+{
+}
+