diff options
Diffstat (limited to 'tools/source/generic/point.cxx')
-rw-r--r-- | tools/source/generic/point.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/source/generic/point.cxx b/tools/source/generic/point.cxx index 0b3d06c4753b..1b470c6065ec 100644 --- a/tools/source/generic/point.cxx +++ b/tools/source/generic/point.cxx @@ -22,6 +22,16 @@ #include <tools/gen.hxx> #include <basegfx/numeric/ftools.hxx> +void Point::RotateAround( Point& rPoint, + short nOrientation ) const +{ + long nX = rPoint.X(); + long nY = rPoint.Y(); + RotateAround(nX, nY, nOrientation); + rPoint.setX(nX); + rPoint.setY(nY); +} + void Point::RotateAround( long& rX, long& rY, short nOrientation ) const { |