diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-01-03 15:05:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-03 17:17:42 +0100 |
commit | 2eee8df0e89b7b2a156769c2ebdd562bf4d21f62 (patch) | |
tree | d19f0929ccd193a3eb000d6102a6e5579241b461 /include/svx/xpoly.hxx | |
parent | 0cb58b2a605529cf59c0e445fc86dca4c92816e7 (diff) |
Degree10->Degree100 in XPolygon
Since some of the call sites are passing in Degree100,
let us preserve that accuracy.
Change-Id: Idfc9c6dfcbc9e164085aacd0c775eac929f33d4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108631
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/xpoly.hxx')
-rw-r--r-- | include/svx/xpoly.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/xpoly.hxx b/include/svx/xpoly.hxx index a2074ef8e42d..23a87341d807 100644 --- a/include/svx/xpoly.hxx +++ b/include/svx/xpoly.hxx @@ -49,9 +49,9 @@ class SVXCORE_DLLPUBLIC XPolygon final // auxiliary functions for Bezier conversion void SubdivideBezier(sal_uInt16 nPos, bool bCalcFirst, double fT); void GenBezArc(const Point& rCenter, tools::Long nRx, tools::Long nRy, - tools::Long nXHdl, tools::Long nYHdl, Degree10 nStart, Degree10 nEnd, + tools::Long nXHdl, tools::Long nYHdl, Degree100 nStart, Degree100 nEnd, sal_uInt16 nQuad, sal_uInt16 nFirst); - static bool CheckAngles(Degree10& nStart, Degree10 nEnd, Degree10& nA1, Degree10& nA2); + static bool CheckAngles(Degree100& nStart, Degree100 nEnd, Degree100& nA1, Degree100& nA2); public: XPolygon( sal_uInt16 nSize=16 ); @@ -60,7 +60,7 @@ public: XPolygon( const tools::Polygon& rPoly ); XPolygon( const tools::Rectangle& rRect, tools::Long nRx = 0, tools::Long nRy = 0 ); XPolygon( const Point& rCenter, tools::Long nRx, tools::Long nRy, - Degree10 nStartAngle = 0_deg10, Degree10 nEndAngle = 3600_deg10, + Degree100 nStartAngle = 0_deg100, Degree100 nEndAngle = 36000_deg100, bool bClose = true ); ~XPolygon(); |