diff options
author | Paulo Henrique Silva <ph.silva@gmail.com> | 2015-07-09 04:05:15 -0300 |
---|---|---|
committer | Paulo Henrique Silva <ph.silva@gmail.com> | 2015-07-09 04:05:15 -0300 |
commit | b3f6ec558ca35a19bd60440f2a114eb98c0a4263 (patch) | |
tree | f59df1ac2080b60567ba7893ae4bee677588ab26 /gerber/cam.py | |
parent | 5aaf18889c3cdc31ae61b9593bf5848bc57ec09a (diff) | |
download | gerbonara-b3f6ec558ca35a19bd60440f2a114eb98c0a4263.tar.gz gerbonara-b3f6ec558ca35a19bd60440f2a114eb98c0a4263.tar.bz2 gerbonara-b3f6ec558ca35a19bd60440f2a114eb98c0a4263.zip |
Fix arcs and ackground painting
Diffstat (limited to 'gerber/cam.py')
-rw-r--r-- | gerber/cam.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gerber/cam.py b/gerber/cam.py index 91ffb9a..804e366 100644 --- a/gerber/cam.py +++ b/gerber/cam.py @@ -253,9 +253,11 @@ class CamFile(object): filename : string <optional> If provided, save the rendered image to `filename` """ + ctx._paint_background() + if ctx.invert: ctx._paint_inverted_layer() - + for p in self.primitives: ctx.render(p) if filename is not None: |