The readme said gradients should be supported, so I figured I should post error caused by gradient fill.
Traceback (most recent call last):
File "canvas.py", line 427, in
ink.affect()
File "/usr/share/inkscape/extensions/inkex.py", line 207, in affect
self.effect()
File "canvas.py", line 423, in effect
self.drawG(ctx, svg)
File "canvas.py", line 410, in drawG
getattr(self, method)(ctx, child)
File "canvas.py", line 410, in drawG
getattr(self, method)(ctx, child)
File "canvas.py", line 369, in drawPath
self.drawAbstractShape(ctx, node, self.drawPathHelper, [ctx, path])
File "canvas.py", line 230, in drawAbstractShape
self.setStyle(ctx, node)
File "canvas.py", line 223, in setStyle
getattr(ctx, method)(style[key])
File "canvas.py", line 133, in setFill
self.write("%s.fillStyle = %s;" % (self.obj, self.fillHelper(value, a)))
File "canvas.py", line 122, in fillHelper
return self.getGradient(rgb[5:-1])
AttributeError: Canvas instance has no attribute 'getGradient'
The readme said gradients should be supported, so I figured I should post error caused by gradient fill.
Traceback (most recent call last):
File "canvas.py", line 427, in
ink.affect()
File "/usr/share/inkscape/extensions/inkex.py", line 207, in affect
self.effect()
File "canvas.py", line 423, in effect
self.drawG(ctx, svg)
File "canvas.py", line 410, in drawG
getattr(self, method)(ctx, child)
File "canvas.py", line 410, in drawG
getattr(self, method)(ctx, child)
File "canvas.py", line 369, in drawPath
self.drawAbstractShape(ctx, node, self.drawPathHelper, [ctx, path])
File "canvas.py", line 230, in drawAbstractShape
self.setStyle(ctx, node)
File "canvas.py", line 223, in setStyle
getattr(ctx, method)(style[key])
File "canvas.py", line 133, in setFill
self.write("%s.fillStyle = %s;" % (self.obj, self.fillHelper(value, a)))
File "canvas.py", line 122, in fillHelper
return self.getGradient(rgb[5:-1])
AttributeError: Canvas instance has no attribute 'getGradient'