diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-02-28 12:03:38 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-02-28 12:03:38 +0100 |
commit | 659fc06e7e2e916379bd105bf7908ab77877acd3 (patch) | |
tree | 36e593842f43130509998c47d986cd76b843a412 /src | |
parent | 30e55d3a9fb2ff302daaccff4d2e275449d2d50a (diff) | |
download | svg.js-659fc06e7e2e916379bd105bf7908ab77877acd3.tar.gz svg.js-659fc06e7e2e916379bd105bf7908ab77877acd3.zip |
removed old fx code which is unused (#605)
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 |