From 95fd97fa6375496ead9ab2832f37489e85051e9e Mon Sep 17 00:00:00 2001 From: Jim Rodovich Date: Thu, 8 May 2014 10:53:35 -0500 Subject: [PATCH] Perform imported SVG rotations in degrees, per the SVG spec. http://www.w3.org/TR/SVG11/coords.html#TransformAttribute --- src/parser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser.js b/src/parser.js index 063344f8..1246e42e 100644 --- a/src/parser.js +++ b/src/parser.js @@ -234,6 +234,7 @@ translateMatrix(matrix, args); break; case 'rotate': + args[0] = fabric.util.degreesToRadians(args[0]); rotateMatrix(matrix, args); break; case 'scale':