summaryrefslogtreecommitdiff
path: root/gerber/render
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2015-02-15 02:20:02 -0500
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2015-02-15 02:20:02 -0500
commit5cf1fa74b42eb8feaab23078bef6f31f6d647c33 (patch)
tree5758024d03d41fb9c8010314bbdb4f8f597db333 /gerber/render
parent5e23d07bcb5103b4607c6ad591a2a547c97ee1f6 (diff)
downloadgerbonara-5cf1fa74b42eb8feaab23078bef6f31f6d647c33.tar.gz
gerbonara-5cf1fa74b42eb8feaab23078bef6f31f6d647c33.tar.bz2
gerbonara-5cf1fa74b42eb8feaab23078bef6f31f6d647c33.zip
Tests and bugfixes
Diffstat (limited to 'gerber/render')
-rw-r--r--gerber/render/svgwrite_backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/render/svgwrite_backend.py b/gerber/render/svgwrite_backend.py
index 9e6a5e4..ae7c377 100644
--- a/gerber/render/svgwrite_backend.py
+++ b/gerber/render/svgwrite_backend.py
@@ -89,7 +89,7 @@ class GerberSvgContext(GerberContext):
direction = '-' if arc.direction == 'clockwise' else '+'
arc_path.push_arc(end, 0, radius, large_arc, direction, True)
self.dwg.add(arc_path)
-
+
def _render_region(self, region, color):
points = [tuple(map(mul, point, self.scale)) for point in region.points]
region_path = self.dwg.path(d='M %f, %f' % points[0],