summaryrefslogtreecommitdiff
path: root/gerber/render/render.py
diff options
context:
space:
mode:
authorGarret Fick <garret@ficksworkshop.com>2016-07-20 23:37:18 +0800
committerGarret Fick <garret@ficksworkshop.com>2016-07-20 23:37:18 +0800
commitb0e13cc596a380b042a5db1f62a5c850b3573519 (patch)
tree2f25348808975986f33c572912ac893bbb64fbe2 /gerber/render/render.py
parente8327fda79ede786e2fbc79eaf1b394f12fe66ce (diff)
parent6a005436b475e3517fd6a583473b60e601bcc661 (diff)
downloadgerbonara-b0e13cc596a380b042a5db1f62a5c850b3573519.tar.gz
gerbonara-b0e13cc596a380b042a5db1f62a5c850b3573519.tar.bz2
gerbonara-b0e13cc596a380b042a5db1f62a5c850b3573519.zip
Merge in 6a005436b475e3517fd6a583473b60e601bcc661
Diffstat (limited to 'gerber/render/render.py')
-rw-r--r--gerber/render/render.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/gerber/render/render.py b/gerber/render/render.py
index cb65a8d..f521c44 100644
--- a/gerber/render/render.py
+++ b/gerber/render/render.py
@@ -214,8 +214,10 @@ class GerberContext(object):
pass
-class Renderable(object):
- def __init__(self, settings=None):
- self.settings = settings
- self.primitives = []
+class RenderSettings(object):
+ def __init__(self, color=(0.0, 0.0, 0.0), alpha=1.0, invert=False, mirror=False):
+ self.color = color
+ self.alpha = alpha
+ self.invert = invert
+ self.mirror = mirror