aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/include/gerbolyze.hpp
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-03-29 22:21:15 +0200
committerjaseg <git@jaseg.de>2023-03-29 22:21:15 +0200
commit25628f1d24a6902e7f7d18befeb751b0a7305fd5 (patch)
tree08b0f8cb0c13b5fa0a2f6acb2709e959130b92fe /svg-flatten/include/gerbolyze.hpp
parent65a426c64500cee6f7e85864abdaee064221c7df (diff)
downloadgerbolyze-25628f1d24a6902e7f7d18befeb751b0a7305fd5.tar.gz
gerbolyze-25628f1d24a6902e7f7d18befeb751b0a7305fd5.tar.bz2
gerbolyze-25628f1d24a6902e7f7d18befeb751b0a7305fd5.zip
svg-flatten: Add stroked SVG output
Diffstat (limited to 'svg-flatten/include/gerbolyze.hpp')
-rw-r--r--svg-flatten/include/gerbolyze.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/svg-flatten/include/gerbolyze.hpp b/svg-flatten/include/gerbolyze.hpp
index 7c54337..2fb7605 100644
--- a/svg-flatten/include/gerbolyze.hpp
+++ b/svg-flatten/include/gerbolyze.hpp
@@ -355,7 +355,9 @@ namespace gerbolyze {
virtual ~SimpleSVGOutput() {}
virtual SimpleSVGOutput &operator<<(const Polygon &poly);
virtual SimpleSVGOutput &operator<<(GerberPolarityToken pol);
+ virtual SimpleSVGOutput &operator<<(const ApertureToken &ap);
virtual SimpleSVGOutput &operator<<(const FlashToken &tok);
+ virtual bool can_do_apertures() { return true; }
virtual void header_impl(d2p origin, d2p size);
virtual void footer_impl();
@@ -364,6 +366,7 @@ namespace gerbolyze {
std::string m_dark_color;
std::string m_clear_color;
std::string m_current_color;
+ double m_stroke_width;
d2p m_offset;
};