Commit e9f2c247 by Dmitry Baranovskiy

Fix for issue #373

parent d8f7740f
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1962,9 +1962,9 @@
\*/
matrixproto.scale = function (x, y, cx, cy) {
y == null && (y = x);
cx || cy && this.add(1, 0, 0, 1, cx, cy);
(cx || cy) && this.add(1, 0, 0, 1, cx, cy);
this.add(x, 0, 0, y, 0, 0);
cx || cy && this.add(1, 0, 0, 1, -cx, -cy);
(cx || cy) && this.add(1, 0, 0, 1, -cx, -cy);
};
/*\
* Matrix.rotate
......
......@@ -1713,9 +1713,9 @@
matrixproto.scale = function (x, y, cx, cy) {
y == null && (y = x);
cx || cy && this.add(1, 0, 0, 1, cx, cy);
(cx || cy) && this.add(1, 0, 0, 1, cx, cy);
this.add(x, 0, 0, y, 0, 0);
cx || cy && this.add(1, 0, 0, 1, -cx, -cy);
(cx || cy) && this.add(1, 0, 0, 1, -cx, -cy);
};
matrixproto.rotate = function (a, x, y) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment