mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-14 00:33:09 +00:00
Perform imported SVG rotations in degrees, per the SVG spec.
http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
This commit is contained in:
parent
5dd7032aad
commit
95fd97fa63
1 changed files with 1 additions and 0 deletions
|
|
@ -234,6 +234,7 @@
|
|||
translateMatrix(matrix, args);
|
||||
break;
|
||||
case 'rotate':
|
||||
args[0] = fabric.util.degreesToRadians(args[0]);
|
||||
rotateMatrix(matrix, args);
|
||||
break;
|
||||
case 'scale':
|
||||
|
|
|
|||
Loading…
Reference in a new issue