only render bases if Engine is_3d

This commit is contained in:
Laura Klünder 2017-11-10 00:27:37 +01:00
parent 6d586973ea
commit f8302ab0ef
3 changed files with 5 additions and 1 deletions

View file

@ -25,6 +25,8 @@ class StrokeAttribs:
class RenderEngine(ABC):
is_3d = False
# draw an svg image. supports pseudo-3D shadow-rendering
def __init__(self, width: int, height: int, xoff=0, yoff=0, scale=1, buffer=0, background='#FFFFFF'):
self.width = width