diff options
author | wout <wout@impinc.co.uk> | 2014-08-30 17:15:52 +0200 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-08-30 17:15:52 +0200 |
commit | 5aa85e605368e4e30c4fcb62abb0031543a7d633 (patch) | |
tree | 15216ae9464613570036ec9523ecc76238ddc777 /dist/svg.js | |
parent | bde8508836f9cad16b462c811d124258ca35400d (diff) | |
download | svg.js-5aa85e605368e4e30c4fcb62abb0031543a7d633.tar.gz svg.js-5aa85e605368e4e30c4fcb62abb0031543a7d633.zip |
Removed matrix add() method
Diffstat (limited to 'dist/svg.js')
-rwxr-xr-x | dist/svg.js | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/dist/svg.js b/dist/svg.js index 56c493c..86427af 100755 --- a/dist/svg.js +++ b/dist/svg.js @@ -6,7 +6,7 @@ * @copyright Wout Fierens <wout@impinc.co.uk> * @license MIT * -* BUILT: Sat Aug 30 2014 16:27:39 GMT+0200 (CEST) +* BUILT: Sat Aug 30 2014 17:15:00 GMT+0200 (CEST) */; (function(root, factory) { @@ -1823,19 +1823,6 @@ SVG.Matrix = SVG.invent({ , multiply: function(matrix) { return new SVG.Matrix(this.native().multiply(parseMatrix(matrix).native())) } - // Adds given matrix - , add: function(matrix) { - matrix = parseMatrix(matrix) - - return new SVG.Matrix({ - a: this.a + matrix.a - 1 - , b: this.b + matrix.b - , c: this.c + matrix.c - , d: this.d + matrix.d - 1 - , e: this.e + matrix.e - , f: this.f + matrix.f - }) - } // Inverses matrix , inverse: function() { return new SVG.Matrix(this.native().inverse()) |