diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2013-03-11 20:14:42 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-03-25 00:52:11 +0100 |
commit | 3047c9bcb2a33487b4c38119f2841bfa3f70b29f (patch) | |
tree | 273c3b8950eabcae6352c7019a92ad89c057fbaf /filter | |
parent | #i119592# Fixed column widths. (diff) | |
download | core-3047c9bcb2a33487b4c38119f2841bfa3f70b29f.tar.gz core-3047c9bcb2a33487b4c38119f2841bfa3f70b29f.zip |
Stick in obvious canonical radians conversion.
Change-Id: I1b79844dd479de201ea30d0b1959303110efee34
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/svg/presentation_engine.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js index ddaf867525bd..36f69c54a863 100644 --- a/filter/source/svg/presentation_engine.js +++ b/filter/source/svg/presentation_engine.js @@ -4101,7 +4101,8 @@ SVGMatrix.prototype.setToIdentity = function() SVGMatrix.prototype.setToRotationAroundPoint = function( nX, nY, nAngle ) { - nAngle = degToRad( nAngle ); + // convert to radians + nAngle = Math.PI * nAngle / 180; var nSin = Math.sin( nAngle ); var nCos = Math.cos( nAngle ); |