From 5f202e15965a2cce22c4b9f9376cd342dd66db3a Mon Sep 17 00:00:00 2001 From: Kalervo Kujala Date: Wed, 5 Sep 2012 22:36:20 +0300 Subject: [PATCH] Add initial TilingType support. --- src/pattern.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pattern.js b/src/pattern.js index b9715d867..864da3c58 100644 --- a/src/pattern.js +++ b/src/pattern.js @@ -205,8 +205,9 @@ var TilingPattern = (function TilingPatternClosure() { var xstep = IR[5]; var ystep = IR[6]; var paintType = IR[7]; + var tilingType = IR[8]; - TODO('TilingType'); + TODO('TilingType: ' + tilingType); this.curMatrix = ctx.mozCurrentTransform; this.invMatrix = ctx.mozCurrentTransformInverse; @@ -279,9 +280,11 @@ var TilingPattern = (function TilingPatternClosure() { var xstep = dict.get('XStep'); var ystep = dict.get('YStep'); var paintType = dict.get('PaintType'); + var tilingType = dict.get('TilingType'); return [ - 'TilingPattern', args, operatorList, matrix, bbox, xstep, ystep, paintType + 'TilingPattern', args, operatorList, matrix, bbox, xstep, ystep, + paintType, tilingType ]; };