summaryrefslogtreecommitdiffstats
path: root/src/matrix.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-08-30 17:15:52 +0200
committerwout <wout@impinc.co.uk>2014-08-30 17:15:52 +0200
commit5aa85e605368e4e30c4fcb62abb0031543a7d633 (patch)
tree15216ae9464613570036ec9523ecc76238ddc777 /src/matrix.js
parentbde8508836f9cad16b462c811d124258ca35400d (diff)
downloadsvg.js-5aa85e605368e4e30c4fcb62abb0031543a7d633.tar.gz
svg.js-5aa85e605368e4e30c4fcb62abb0031543a7d633.zip
Removed matrix add() method
Diffstat (limited to 'src/matrix.js')
-rw-r--r--src/matrix.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/matrix.js b/src/matrix.js
index 4531457..b175860 100644
--- a/src/matrix.js
+++ b/src/matrix.js
@@ -90,19 +90,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())