diff options
author | Hamilton Kibbe <hkibbe@entic.com> | 2019-03-02 10:41:37 -0500 |
---|---|---|
committer | Hamilton Kibbe <hkibbe@entic.com> | 2019-03-02 10:41:37 -0500 |
commit | 2601ae8eab8d7be807bdbed264cd943e441a8da0 (patch) | |
tree | c0f5cc3c1cf7d0d9c90346396e4d016d8af5c4ae /gerber | |
parent | 256cd7ec6b1e50e9629b7da3a64248df9124011a (diff) | |
download | gerbonara-2601ae8eab8d7be807bdbed264cd943e441a8da0.tar.gz gerbonara-2601ae8eab8d7be807bdbed264cd943e441a8da0.tar.bz2 gerbonara-2601ae8eab8d7be807bdbed264cd943e441a8da0.zip |
fix reversed layer bug
Diffstat (limited to 'gerber')
-rw-r--r-- | gerber/render/cairo_backend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/render/cairo_backend.py b/gerber/render/cairo_backend.py index 7c01319..e1d1408 100644 --- a/gerber/render/cairo_backend.py +++ b/gerber/render/cairo_backend.py @@ -532,7 +532,7 @@ class GerberCairoContext(GerberContext): def new_render_layer(self, color=None, mirror=False): size_in_pixels = self.scale_point(self.size_in_inch) - matrix = cairo.Matrix() * self._xform_matrix + matrix = copy.copy(self._xform_matrix) layer = cairo.SVGSurface(None, size_in_pixels[0], size_in_pixels[1]) ctx = cairo.Context(layer) |