diff options
author | August Sodora <augsod@gmail.com> | 2012-01-07 20:41:09 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2012-01-08 11:48:09 -0500 |
commit | bc2a59e09d1a554b2d55412d1f10a3fa1fe86086 (patch) | |
tree | 0f588df79ace5b37eff26593e78cf17f4071e1fd /basegfx/inc | |
parent | dd7eeed27dc225281ad51e3e41be88ce753e4e8e (diff) |
callcatcher: Remove unused code
Diffstat (limited to 'basegfx/inc')
-rw-r--r-- | basegfx/inc/basegfx/curve/b2dcubicbezier.hxx | 1 | ||||
-rw-r--r-- | basegfx/inc/basegfx/matrix/b2dhommatrix.hxx | 13 | ||||
-rw-r--r-- | basegfx/inc/basegfx/range/b2dpolyrange.hxx | 40 | ||||
-rw-r--r-- | basegfx/inc/basegfx/tools/b2dclipstate.hxx | 17 |
4 files changed, 0 insertions, 71 deletions
diff --git a/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx b/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx index cd7e7d9bde9e..5931ce057dbe 100644 --- a/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx +++ b/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx @@ -55,7 +55,6 @@ namespace basegfx public: B2DCubicBezier(); B2DCubicBezier(const B2DCubicBezier& rBezier); - B2DCubicBezier(const B2DPoint& rStart, const B2DPoint& rEnd); B2DCubicBezier(const B2DPoint& rStart, const B2DPoint& rControlPointA, const B2DPoint& rControlPointB, const B2DPoint& rEnd); ~B2DCubicBezier(); diff --git a/basegfx/inc/basegfx/matrix/b2dhommatrix.hxx b/basegfx/inc/basegfx/matrix/b2dhommatrix.hxx index 71596353c829..e296a3d1d0be 100644 --- a/basegfx/inc/basegfx/matrix/b2dhommatrix.hxx +++ b/basegfx/inc/basegfx/matrix/b2dhommatrix.hxx @@ -56,9 +56,6 @@ namespace basegfx */ B2DHomMatrix(double f_0x0, double f_0x1, double f_0x2, double f_1x0, double f_1x1, double f_1x2); - /// unshare this matrix with all internally shared instances - void makeUnique(); - double get(sal_uInt16 nRow, sal_uInt16 nColumn) const; void set(sal_uInt16 nRow, sal_uInt16 nColumn, double fValue); @@ -78,15 +75,6 @@ namespace basegfx bool isInvertible() const; bool invert(); - bool isNormalized() const; - void normalize(); - - double determinant() const; - - double trace() const; - - void transpose(); - void rotate(double fRadiant); void translate(double fX, double fY); @@ -97,7 +85,6 @@ namespace basegfx void shearX(double fSx); void shearY(double fSy); - B2DHomMatrix& operator+=(const B2DHomMatrix& rMat); B2DHomMatrix& operator-=(const B2DHomMatrix& rMat); diff --git a/basegfx/inc/basegfx/range/b2dpolyrange.hxx b/basegfx/inc/basegfx/range/b2dpolyrange.hxx index 03fc7902a9c7..6cb95a49bc58 100644 --- a/basegfx/inc/basegfx/range/b2dpolyrange.hxx +++ b/basegfx/inc/basegfx/range/b2dpolyrange.hxx @@ -67,14 +67,9 @@ namespace basegfx /** Create a multi range with exactly one containing range */ - explicit B2DPolyRange( const ElementType& rElement ); - B2DPolyRange( const B2DRange& rRange, B2VectorOrientation eOrient ); B2DPolyRange( const B2DPolyRange& ); B2DPolyRange& operator=( const B2DPolyRange& ); - /// unshare this poly-range with all internally shared instances - void makeUnique(); - bool operator==(const B2DPolyRange&) const; bool operator!=(const B2DPolyRange&) const; @@ -82,44 +77,15 @@ namespace basegfx sal_uInt32 count() const; ElementType getElement(sal_uInt32 nIndex) const; - void setElement(sal_uInt32 nIndex, const ElementType& rElement ); - void setElement(sal_uInt32 nIndex, const B2DRange& rRange, B2VectorOrientation eOrient ); // insert/append a single range - void insertElement(sal_uInt32 nIndex, const ElementType& rElement, sal_uInt32 nCount = 1); - void insertElement(sal_uInt32 nIndex, const B2DRange& rRange, B2VectorOrientation eOrient, sal_uInt32 nCount = 1); - void appendElement(const ElementType& rElement, sal_uInt32 nCount = 1); void appendElement(const B2DRange& rRange, B2VectorOrientation eOrient, sal_uInt32 nCount = 1); // insert/append multiple ranges - void insertPolyRange(sal_uInt32 nIndex, const B2DPolyRange&); void appendPolyRange(const B2DPolyRange&); - void remove(sal_uInt32 nIndex, sal_uInt32 nCount = 1); void clear(); - // flip range orientations - converts holes to solids, and vice versa - void flip(); - - /** Get overall range - - @return - The union range of all contained ranges - */ - B2DRange getBounds() const; - - /** Test whether given tuple is inside one or more of the - included ranges. Does *not* use overall range, but checks - individually. - */ - bool isInside( const B2DTuple& rTuple ) const; - - /** Test whether given range is inside one or more of the - included ranges. Does *not* use overall range, but checks - individually. - */ - bool isInside( const B2DRange& rRange ) const; - /** Test whether given range overlaps one or more of the included ranges. Does *not* use overall range, but checks individually. @@ -130,12 +96,6 @@ namespace basegfx */ B2DPolyPolygon solveCrossovers() const; - // element iterators (same iterator validity conditions as for vector) - const B2DRange* begin() const; - const B2DRange* end() const; - B2DRange* begin(); - B2DRange* end(); - private: o3tl::cow_wrapper< ImplB2DPolyRange > mpImpl; }; diff --git a/basegfx/inc/basegfx/tools/b2dclipstate.hxx b/basegfx/inc/basegfx/tools/b2dclipstate.hxx index 67d6705bb914..30ab4bdc5fce 100644 --- a/basegfx/inc/basegfx/tools/b2dclipstate.hxx +++ b/basegfx/inc/basegfx/tools/b2dclipstate.hxx @@ -69,21 +69,12 @@ namespace basegfx B2DClipState(); ~B2DClipState(); B2DClipState( const B2DClipState& ); - explicit B2DClipState( const B2DRange& ); - explicit B2DClipState( const B2DPolygon& ); explicit B2DClipState( const B2DPolyPolygon& ); B2DClipState& operator=( const B2DClipState& ); - /// unshare this poly-range with all internally shared instances - void makeUnique(); - /// Set clip to 'null' - nothing is visible void makeNull(); - /// returns true when clip is 'null' - nothing is visible - bool isNull() const; - /// Set clip 'cleared' - everything is visible - void makeClear(); /// returns true when clip is 'cleared' - everything is visible bool isCleared() const; @@ -91,24 +82,16 @@ namespace basegfx bool operator!=(const B2DClipState&) const; void unionRange(const B2DRange& ); - void unionPolygon(const B2DPolygon& ); void unionPolyPolygon(const B2DPolyPolygon& ); - void unionClipState(const B2DClipState& ); void intersectRange(const B2DRange& ); - void intersectPolygon(const B2DPolygon& ); void intersectPolyPolygon(const B2DPolyPolygon& ); - void intersectClipState(const B2DClipState& ); void subtractRange(const B2DRange& ); - void subtractPolygon(const B2DPolygon& ); void subtractPolyPolygon(const B2DPolyPolygon& ); - void subtractClipState(const B2DClipState& ); void xorRange(const B2DRange& ); - void xorPolygon(const B2DPolygon& ); void xorPolyPolygon(const B2DPolyPolygon& ); - void xorClipState(const B2DClipState& ); B2DPolyPolygon getClipPoly() const; }; |