fix reversed layer bug
This commit is contained in:
parent
256cd7ec6b
commit
2601ae8eab
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue