Pass commonObjs to TilingPattern constructor

Broken example: http://www.eiken.or.jp/eiken/apply/private/flow/pdf/ichiji.pdf
This commit is contained in:
vyv03354 2013-03-03 21:36:44 +09:00
parent 32938d3a66
commit 9310e852db
4 changed files with 12 additions and 3 deletions

View file

@ -1153,7 +1153,8 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
color = base.getRgb(args, 0);
}
var pattern = new TilingPattern(IR, color, this.ctx, this.objs);
var pattern = new TilingPattern(IR, color, this.ctx, this.objs,
this.commonObjs);
} else if (IR[0] == 'RadialAxial' || IR[0] == 'Dummy') {
var pattern = Pattern.shadingFromIR(IR);
} else {