Merge pull request #2076 from kkujala/dev

Add initial TilingType support.
This commit is contained in:
Brendan Dahl 2012-09-07 15:39:28 -07:00
commit 455bb6d98c

View File

@ -219,8 +219,9 @@ var TilingPattern = (function TilingPatternClosure() {
var xstep = IR[5]; var xstep = IR[5];
var ystep = IR[6]; var ystep = IR[6];
var paintType = IR[7]; var paintType = IR[7];
var tilingType = IR[8];
TODO('TilingType'); TODO('TilingType: ' + tilingType);
this.curMatrix = ctx.mozCurrentTransform; this.curMatrix = ctx.mozCurrentTransform;
this.invMatrix = ctx.mozCurrentTransformInverse; this.invMatrix = ctx.mozCurrentTransformInverse;
@ -293,9 +294,11 @@ var TilingPattern = (function TilingPatternClosure() {
var xstep = dict.get('XStep'); var xstep = dict.get('XStep');
var ystep = dict.get('YStep'); var ystep = dict.get('YStep');
var paintType = dict.get('PaintType'); var paintType = dict.get('PaintType');
var tilingType = dict.get('TilingType');
return [ return [
'TilingPattern', args, operatorList, matrix, bbox, xstep, ystep, paintType 'TilingPattern', args, operatorList, matrix, bbox, xstep, ystep,
paintType, tilingType
]; ];
}; };