summaryrefslogtreecommitdiff
path: root/gerber/render/rs274x_backend.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2019-01-26 13:52:32 -0500
committerGitHub <noreply@github.com>2019-01-26 13:52:32 -0500
commitf59d78b7fe92fffcc0afc56c5bec1dd211cc30c6 (patch)
tree37ea4ae8f0c6936ec7d525c8da19d102f00ae0e9 /gerber/render/rs274x_backend.py
parent292f74dee92bc8c11e7ad51864ee96c411d14094 (diff)
parent5245fb925684b4ebe056e6509bfeca6b167903b5 (diff)
downloadgerbonara-f59d78b7fe92fffcc0afc56c5bec1dd211cc30c6.tar.gz
gerbonara-f59d78b7fe92fffcc0afc56c5bec1dd211cc30c6.tar.bz2
gerbonara-f59d78b7fe92fffcc0afc56c5bec1dd211cc30c6.zip
Merge pull request #92 from curtacircuitos/subclass-bugfix
Fix hard requirement of cairo per #83, and add stubs for required sub…
Diffstat (limited to 'gerber/render/rs274x_backend.py')
-rw-r--r--gerber/render/rs274x_backend.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gerber/render/rs274x_backend.py b/gerber/render/rs274x_backend.py
index d32602a..30048c4 100644
--- a/gerber/render/rs274x_backend.py
+++ b/gerber/render/rs274x_backend.py
@@ -148,10 +148,10 @@ class Rs274xContext(GerberContext):
def statements(self):
return self.comments + self.header + self.body + self.end
- def set_bounds(self, bounds):
+ def set_bounds(self, bounds, *args, **kwargs):
pass
- def _paint_background(self):
+ def paint_background(self):
pass
def _select_aperture(self, aperture):
@@ -173,7 +173,7 @@ class Rs274xContext(GerberContext):
self.body.append(ApertureStmt(aper.d))
self._dcode = aper.d
- def _pre_render_primitive(self, primitive):
+ def pre_render_primitive(self, primitive):
if hasattr(primitive, 'comment'):
self.body.append(CommentStmt(primitive.comment))
@@ -489,11 +489,11 @@ class Rs274xContext(GerberContext):
def _render_inverted_layer(self):
pass
- def _new_render_layer(self):
+ def new_render_layer(self):
# TODO Might need to implement this
pass
- def _flatten(self):
+ def flatten(self):
# TODO Might need to implement this
pass