Add dontNotify parameter to _transformPoint(), required sometimes for LinkedPoints.

This commit is contained in:
Jürg Lehni 2011-05-16 11:18:53 +01:00
parent 9384fb4fb5
commit f92434ab54

View file

@ -301,14 +301,15 @@ var Matrix = this.Matrix = Base.extend({
* A faster version of transform that only takes one point and does not
* attempt to convert it.
*/
_transformPoint: function(point, dest) {
_transformPoint: function(point, dest, dontNotify) {
var x = point.x,
y = point.y;
if (!dest)
dest = new Point(Point.dont);
return dest.set(
x * this._m00 + y * this._m01 + this._m02,
x * this._m10 + y * this._m11 + this._m12
x * this._m10 + y * this._m11 + this._m12,
dontNotify
);
},