diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/attr.js | 4 | ||||
-rw-r--r-- | src/matrix.js | 20 |
2 files changed, 0 insertions, 24 deletions
diff --git a/src/attr.js b/src/attr.js index 9340981..134ac19 100644 --- a/src/attr.js +++ b/src/attr.js @@ -57,10 +57,6 @@ SVG.extend(SVG.Element, { else if (Array.isArray(v)) v = new SVG.Array(v) - // store parametric transformation values locally - else if (v instanceof SVG.Matrix && v.param) - this.param = v.param - // if the passed attribute is leading... if (a == 'leading') { // ... call the leading method instead diff --git a/src/matrix.js b/src/matrix.js index bcf39e4..481564e 100644 --- a/src/matrix.js +++ b/src/matrix.js @@ -77,26 +77,6 @@ SVG.Matrix = SVG.invent({ , f: this.f + (this.destination.f - this.f) * pos }) - // process parametric rotation if present - if (this.param && this.param.to) { - // calculate current parametric position - var param = { - rotation: this.param.from.rotation + (this.param.to.rotation - this.param.from.rotation) * pos - , cx: this.param.from.cx - , cy: this.param.from.cy - } - - // rotate matrix - matrix = matrix.rotate( - (this.param.to.rotation - this.param.from.rotation * 2) * pos - , param.cx - , param.cy - ) - - // store current parametric values - matrix.param = param - } - return matrix } // Multiplies by given matrix |