diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-12-23 09:09:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-23 17:06:56 +0100 |
commit | 666e14ba6e82dcad6912a205694978b2736e4319 (patch) | |
tree | b4f13570b51f96ee9f1e7825c4422ea55c8fa620 /include/svx | |
parent | 961f6db0b647614e8221185c0e8ac661d87de9b6 (diff) |
add utility NbcRotate method
Change-Id: I66d016a22158f9f9ef68a80842e95e45516f0b4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108228
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/svdobj.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index b7af53864a77..335eb3d4dcb2 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -537,6 +537,8 @@ public: virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact); virtual void NbcCrop (const basegfx::B2DPoint& rRef, double fxFact, double fyFact); virtual void NbcRotate(const Point& rRef, tools::Long nAngle, double sn, double cs); + // Utility for call sites that don't have sin and cos handy + void NbcRotate(const Point& rRef, tools::Long nAngle); virtual void NbcMirror(const Point& rRef1, const Point& rRef2); virtual void NbcShear (const Point& rRef, tools::Long nAngle, double tn, bool bVShear); |