From f45c04a35953c3c2abd786674b6ca583aabe82ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 27 Dec 2012 13:04:07 +0100 Subject: [PATCH] Remove overridden Path#matrix getters and setters, since we now control behavior through #applyMatrix. --- src/path/Path.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/path/Path.js b/src/path/Path.js index 6345de2e..765e1118 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -235,17 +235,6 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{ // path, with the added benefit that b can be < a, and closed looping is // taken into account. - getMatrix: function() { - // Override matrix getter to always return null, since Paths act as if - // they do not have a matrix, and always directly apply transformations - // to their segment points. - return null; - }, - - setMatrix: function(matrix) { - // Do nothing for the same reason as above. - }, - isEmpty: function() { return this._segments.length === 0; },