From b3d771a8704077b7b1e7e1bf385449b866c67f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 5 Jun 2011 13:27:39 +0100 Subject: [PATCH] Remove Curve#transform() which is currently broken anyhow. --- src/path/Curve.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/path/Curve.js b/src/path/Curve.js index 69d4eebb..f2b8d6ec 100644 --- a/src/path/Curve.js +++ b/src/path/Curve.js @@ -302,19 +302,6 @@ var Curve = this.Curve = Base.extend({ // TODO: getIntersections // TODO: adjustThroughPoint - // DOCS: document Curve#transform(matrix) - /** - * @param {Matrix} matrix - * @return {Curve} - */ - transform: function(matrix) { - return new Curve( - matrix._transformPoint(this._segment1._point), - matrix._transformPoint(this._segment1._handleOut), - matrix._transformPoint(this._segment2._handleIn), - matrix._transformPoint(this._segment2._point)); - }, - /** * Returns a reversed version of the curve, without modifying the curve * itself.