Perform imported SVG rotations in degrees, per the SVG spec.

http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
This commit is contained in:
Jim Rodovich 2014-05-08 10:53:35 -05:00
parent 5dd7032aad
commit 95fd97fa63

View file

@ -234,6 +234,7 @@
translateMatrix(matrix, args);
break;
case 'rotate':
args[0] = fabric.util.degreesToRadians(args[0]);
rotateMatrix(matrix, args);
break;
case 'scale':