diff options
author | Hamilton Kibbe <hkibbe@entic.com> | 2018-06-05 08:57:37 -0400 |
---|---|---|
committer | Hamilton Kibbe <hkibbe@entic.com> | 2018-06-05 08:57:37 -0400 |
commit | 5245fb925684b4ebe056e6509bfeca6b167903b5 (patch) | |
tree | 56615e66b5a9a2b3e04cf58b0b94604bac7af3f4 /examples/cairo_example.py | |
parent | 31062ba2ce326bf3165c15b325b31b226dc69a11 (diff) | |
download | gerbonara-5245fb925684b4ebe056e6509bfeca6b167903b5.tar.gz gerbonara-5245fb925684b4ebe056e6509bfeca6b167903b5.tar.bz2 gerbonara-5245fb925684b4ebe056e6509bfeca6b167903b5.zip |
Fix hard requirement of cairo per #83, and add stubs for required subclass methods to GerberContext per #84
Diffstat (limited to 'examples/cairo_example.py')
-rw-r--r-- | examples/cairo_example.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/cairo_example.py b/examples/cairo_example.py index fcd7a44..ecfed4d 100644 --- a/examples/cairo_example.py +++ b/examples/cairo_example.py @@ -25,7 +25,8 @@ a .png file. import os from gerber import load_layer -from gerber.render import GerberCairoContext, RenderSettings, theme +from gerber.render import RenderSettings, theme +from gerber.render.cairo_backend import GerberCairoContext GERBER_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), 'gerbers')) |