This commit is contained in:
Artur Adib 2011-10-25 09:10:56 -07:00
parent 889de3fc4d
commit 8fbb05613e
19 changed files with 48 additions and 82 deletions

View file

@ -558,7 +558,7 @@ var CanvasGraphics = (function canvasGraphics() {
color = base.getRgb(color);
}
var pattern = new TilingPattern(IR, color, this.ctx, this.objs);
} else if (IR[0] == 'RadialAxialShading' || IR[0] == 'DummyShading') {
} else if (IR[0] == 'RadialAxial' || IR[0] == 'Dummy') {
var pattern = Pattern.shadingFromIR(this.ctx, IR);
} else {
throw 'Unkown IR type';