diff options
author | Elton Chung <elton@layerjet.com> | 2012-03-02 01:58:12 +0800 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-03-01 20:17:14 +0200 |
commit | e8dbf6840ca118222ad95856dc7ea06eaffc3b66 (patch) | |
tree | 9444cd4a544170ad205ae0cd90aa4882d2160d2e /basegfx/inc | |
parent | bd205223ec029a875c662474bb6d423d3cdd1994 (diff) |
Remove unused code
Diffstat (limited to 'basegfx/inc')
-rw-r--r-- | basegfx/inc/basegfx/polygon/b2dpolygontools.hxx | 6 | ||||
-rw-r--r-- | basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx | 7 | ||||
-rw-r--r-- | basegfx/inc/basegfx/polygon/b3dpolygontools.hxx | 3 |
3 files changed, 0 insertions, 16 deletions
diff --git a/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx b/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx index 3fdadbcb4aa6..d26475e23694 100644 --- a/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx +++ b/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx @@ -316,9 +316,6 @@ namespace basegfx // distort polygon. rOriginal describes the original range, where the given points describe the distorted corresponding points. BASEGFX_DLLPUBLIC B2DPolygon distort(const B2DPolygon& rCandidate, const B2DRange& rOriginal, const B2DPoint& rTopLeft, const B2DPoint& rTopRight, const B2DPoint& rBottomLeft, const B2DPoint& rBottomRight); - // rotate polygon around given point with given angle. - BASEGFX_DLLPUBLIC B2DPolygon rotateAroundPoint(const B2DPolygon& rCandidate, const B2DPoint& rCenter, double fAngle); - // expand all segments (which are not yet) to curve segments. This is done with setting the control // vectors on the 1/3 resp. 2/3 distances on each segment. BASEGFX_DLLPUBLIC B2DPolygon expandToCurve(const B2DPolygon& rCandidate); @@ -327,9 +324,6 @@ namespace basegfx // vectors on the 1/3 resp. 2/3 distances. The return value describes if a change took place. BASEGFX_DLLPUBLIC bool expandToCurveInPoint(B2DPolygon& rCandidate, sal_uInt32 nIndex); - // set continuity for the whole curve. If not a curve, nothing will change. Non-curve points are not changed, too. - B2DPolygon setContinuity(const B2DPolygon& rCandidate, B2VectorContinuity eContinuity); - // set continuity for given index. If not a curve, nothing will change. Non-curve points are not changed, too. // The return value describes if a change took place. BASEGFX_DLLPUBLIC bool setContinuityInPoint(B2DPolygon& rCandidate, sal_uInt32 nIndex, B2VectorContinuity eContinuity); diff --git a/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx b/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx index d125d478ab8a..a6ca7146b31e 100644 --- a/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx +++ b/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx @@ -52,13 +52,6 @@ namespace basegfx B3DORIENTATION_Z // Z-Axis }; - // Clip given 3D polygon against a plane orthogonal to X,Y or Z axis. The plane is defined using the - // enum ePlaneOrthogonal which names the vector orthogonal to the plane, the fPlaneOffset gives the distance - // of the plane from the center (0.0). - // The value bClipPositive defines on which side the return value will be (true -> on positive side of plane). - // The switch bStroke decides if the polygon is interpreted as area (false) or strokes (true). - BASEGFX_DLLPUBLIC B3DPolyPolygon clipPolyPolygonOnOrthogonalPlane(const B3DPolyPolygon& rCandidate, B3DOrientation ePlaneOrthogonal, bool bClipPositive, double fPlaneOffset, bool bStroke); - // version for Polygons BASEGFX_DLLPUBLIC B3DPolyPolygon clipPolygonOnOrthogonalPlane(const B3DPolygon& rCandidate, B3DOrientation ePlaneOrthogonal, bool bClipPositive, double fPlaneOffset, bool bStroke); diff --git a/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx b/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx index 9d66ca5c117e..c94495ed7504 100644 --- a/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx +++ b/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx @@ -76,9 +76,6 @@ namespace basegfx // get area of polygon BASEGFX_DLLPUBLIC double getArea(const ::basegfx::B3DPolygon& rCandidate); - // get length of polygon edge from point nIndex to nIndex + 1 - BASEGFX_DLLPUBLIC double getEdgeLength(const B3DPolygon& rCandidate, sal_uInt32 nIndex); - // get length of polygon BASEGFX_DLLPUBLIC double getLength(const B3DPolygon& rCandidate); |