mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Remove Curve#transform() which is currently broken anyhow.
This commit is contained in:
parent
25541b6c6c
commit
b3d771a870
1 changed files with 0 additions and 13 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue