aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/out_scaler.cpp
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-20 18:30:34 +0200
committerjaseg <git@jaseg.de>2022-06-20 18:30:34 +0200
commite4a0c1ba4a16c0e0f7c1013afd924ecb41b41f05 (patch)
tree5de4c8e20238b2c1a8c527cc62441315031bcd6f /svg-flatten/src/out_scaler.cpp
parent9e9cc2bc019f0e67720ad5da16315e7cd6781e78 (diff)
downloadgerbolyze-e4a0c1ba4a16c0e0f7c1013afd924ecb41b41f05.tar.gz
gerbolyze-e4a0c1ba4a16c0e0f7c1013afd924ecb41b41f05.tar.bz2
gerbolyze-e4a0c1ba4a16c0e0f7c1013afd924ecb41b41f05.zip
Fix outline mode clip & flash handling
Diffstat (limited to 'svg-flatten/src/out_scaler.cpp')
-rw-r--r--svg-flatten/src/out_scaler.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/svg-flatten/src/out_scaler.cpp b/svg-flatten/src/out_scaler.cpp
index fb54145..c6e624d 100644
--- a/svg-flatten/src/out_scaler.cpp
+++ b/svg-flatten/src/out_scaler.cpp
@@ -64,12 +64,6 @@ PolygonScaler &PolygonScaler::operator<<(const Polygon &poly) {
return *this;
}
-PolygonScaler &PolygonScaler::operator<<(const DrillToken &tok) {
- d2p new_center { tok.m_center[0] * m_scale, tok.m_center[1] * m_scale };
- m_sink << DrillToken(new_center);
- return *this;
-}
-
PolygonScaler &PolygonScaler::operator<<(const FlashToken &tok) {
d2p new_offset = { tok.m_offset[0] * m_scale, tok.m_offset[1] * m_scale};
m_sink << FlashToken(new_offset);