diff options
-rw-r--r-- | svx/inc/svx/svdtrans.hxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdtrans.cxx | 18 |
2 files changed, 0 insertions, 20 deletions
diff --git a/svx/inc/svx/svdtrans.hxx b/svx/inc/svx/svdtrans.hxx index b0cd472a2681..e740b71c4be5 100644 --- a/svx/inc/svx/svdtrans.hxx +++ b/svx/inc/svx/svdtrans.hxx @@ -92,8 +92,6 @@ void MirrorXPoly(XPolyPolygon& rPoly, const Point& rRef1, const Point& rRef2); inline void ShearPoint(Point& rPnt, const Point& rRef, double tn, bool bVShear = false); SVX_DLLPUBLIC void ShearPoly(Polygon& rPoly, const Point& rRef, double tn, bool bVShear = false); void ShearXPoly(XPolygon& rPoly, const Point& rRef, double tn, bool bVShear = false); -void ShearPoly(PolyPolygon& rPoly, const Point& rRef, double tn, bool bVShear = false); -void ShearXPoly(XPolyPolygon& rPoly, const Point& rRef, double tn, bool bVShear = false); // rPnt.X bzw rPnt.Y wird auf rCenter.X bzw. rCenter.Y gesetzt! // anschliessend muss rPnt nur noch um rCenter gedreht werden. diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx index 180e967571bf..22445841eb1e 100644 --- a/svx/source/svdraw/svdtrans.cxx +++ b/svx/source/svdraw/svdtrans.cxx @@ -250,24 +250,6 @@ void ShearXPoly(XPolygon& rPoly, const Point& rRef, double tn, bool bVShear) } } -void ShearPoly(PolyPolygon& rPoly, const Point& rRef, double tn, bool bVShear) -{ - sal_uInt16 nAnz=rPoly.Count(); - for (sal_uInt16 i=0; i<nAnz; i++) { - ShearPoly(rPoly[i],rRef,tn,bVShear); - } -} - -void ShearXPoly(XPolyPolygon& rPoly, const Point& rRef, double tn, bool bVShear) -{ - sal_uInt16 nAnz=rPoly.Count(); - for (sal_uInt16 i=0; i<nAnz; i++) { - ShearXPoly(rPoly[i],rRef,tn,bVShear); - } -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - double CrookRotateXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, const Point& rRad, double& rSin, double& rCos, bool bVert) { |