Fix hard requirement of cairo per #83, and add stubs for required subclass methods to GerberContext per #84
This commit is contained in:
parent
31062ba2ce
commit
5245fb9256
8 changed files with 90 additions and 69 deletions
|
|
@ -22,7 +22,8 @@ images using the PCB interface
|
|||
|
||||
import os
|
||||
from gerber import PCB
|
||||
from gerber.render import GerberCairoContext, theme
|
||||
from gerber.render import theme
|
||||
from gerber.render.cairo_backend import GerberCairoContext
|
||||
|
||||
|
||||
GERBER_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), 'gerbers'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue