summaryrefslogtreecommitdiff
path: root/basegfx/inc/basegfx
diff options
context:
space:
mode:
authorAlexander Bergmann <myaddons@gmx.de>2012-02-01 16:34:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-01 16:34:50 +0000
commitb3c3e116ff0eb9b550b73d3901395c042e31d192 (patch)
tree10814ac19c46bffb767d25e9ec408531d3878c14 /basegfx/inc/basegfx
parentbc8fa08a7ae48f68ee5578cb7820336c70898202 (diff)
unusedcode.easy: Removed unused code
Diffstat (limited to 'basegfx/inc/basegfx')
-rw-r--r--basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx3
-rw-r--r--basegfx/inc/basegfx/point/b2ipoint.hxx5
-rw-r--r--basegfx/inc/basegfx/point/b3ipoint.hxx5
-rw-r--r--basegfx/inc/basegfx/polygon/b2dpolygon.hxx20
-rw-r--r--basegfx/inc/basegfx/polygon/b3dpolygon.hxx3
-rw-r--r--basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx3
-rw-r--r--basegfx/inc/basegfx/range/b1drange.hxx8
-rw-r--r--basegfx/inc/basegfx/range/b2drange.hxx6
-rw-r--r--basegfx/inc/basegfx/range/b3drange.hxx8
-rw-r--r--basegfx/inc/basegfx/tools/canvastools.hxx10
-rw-r--r--basegfx/inc/basegfx/tools/unopolypolygon.hxx3
-rw-r--r--basegfx/inc/basegfx/tuple/b2i64tuple.hxx2
-rw-r--r--basegfx/inc/basegfx/tuple/b2ituple.hxx2
-rw-r--r--basegfx/inc/basegfx/tuple/b3dtuple.hxx7
-rw-r--r--basegfx/inc/basegfx/tuple/b3i64tuple.hxx8
-rw-r--r--basegfx/inc/basegfx/tuple/b3ituple.hxx8
-rw-r--r--basegfx/inc/basegfx/vector/b2dvector.hxx8
-rw-r--r--basegfx/inc/basegfx/vector/b2ivector.hxx14
-rw-r--r--basegfx/inc/basegfx/vector/b3ivector.hxx5
19 files changed, 0 insertions, 128 deletions
diff --git a/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx b/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx
index 3d0d22da4cad..e53a598ba967 100644
--- a/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx
+++ b/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx
@@ -226,9 +226,6 @@ namespace basegfx
};
} // end of namespace tools
- /// Returns a string with svg's "matrix(m00,m10,m01,m11,m02,m12)" representation
- ::rtl::OUString exportToSvg( const B2DHomMatrix& rMatrix );
-
} // end of namespace basegfx
///////////////////////////////////////////////////////////////////////////////
diff --git a/basegfx/inc/basegfx/point/b2ipoint.hxx b/basegfx/inc/basegfx/point/b2ipoint.hxx
index b74b559d898b..c356e1c5855b 100644
--- a/basegfx/inc/basegfx/point/b2ipoint.hxx
+++ b/basegfx/inc/basegfx/point/b2ipoint.hxx
@@ -118,11 +118,6 @@ namespace basegfx
contrast to B2DVector, applied.
*/
B2IPoint& operator*=( const ::basegfx::B2DHomMatrix& rMat );
-
- static const B2IPoint& getEmptyPoint()
- {
- return (const B2IPoint&) ::basegfx::B2ITuple::getEmptyTuple();
- }
};
} // end of namespace basegfx
diff --git a/basegfx/inc/basegfx/point/b3ipoint.hxx b/basegfx/inc/basegfx/point/b3ipoint.hxx
index 334ff33a7b50..f773994728fe 100644
--- a/basegfx/inc/basegfx/point/b3ipoint.hxx
+++ b/basegfx/inc/basegfx/point/b3ipoint.hxx
@@ -130,11 +130,6 @@ namespace basegfx
contrast to B3DVector, applied.
*/
B3IPoint& operator*=( const ::basegfx::B3DHomMatrix& rMat );
-
- static const B3IPoint& getEmptyPoint()
- {
- return (const B3IPoint&) ::basegfx::B3ITuple::getEmptyTuple();
- }
};
} // end of namespace basegfx
diff --git a/basegfx/inc/basegfx/polygon/b2dpolygon.hxx b/basegfx/inc/basegfx/polygon/b2dpolygon.hxx
index 707590de87ad..3443d7253615 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolygon.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolygon.hxx
@@ -187,26 +187,6 @@ namespace basegfx
*/
B2DRange getB2DRange() const;
- /** insert other 2D polygons
-
- The default (with nIndex2 == 0 && nCount == 0) inserts the whole
- rPoly at position nIndex
-
- @param nIndex
- Target index for points to be inserted
-
- @param rPoly
- The source for new points
-
- @param nIndex2
- The index to the first source point into rPoly
-
- @param nCount
- How many points to add from rPoly to this polygon. Null
- means to copy all (starting from nIndex2)
- */
- void insert(sal_uInt32 nIndex, const B2DPolygon& rPoly, sal_uInt32 nIndex2 = 0, sal_uInt32 nCount = 0);
-
/** append other 2D polygons
The default (nIndex ==0 && nCount == 0) will append
diff --git a/basegfx/inc/basegfx/polygon/b3dpolygon.hxx b/basegfx/inc/basegfx/polygon/b3dpolygon.hxx
index 359adf2d7d79..2aae89b64f58 100644
--- a/basegfx/inc/basegfx/polygon/b3dpolygon.hxx
+++ b/basegfx/inc/basegfx/polygon/b3dpolygon.hxx
@@ -69,9 +69,6 @@ namespace basegfx
// assignment operator
B3DPolygon& operator=(const B3DPolygon& rPolygon);
- /// unshare this polygon with all internally shared instances
- void makeUnique();
-
// compare operators
bool operator==(const B3DPolygon& rPolygon) const;
bool operator!=(const B3DPolygon& rPolygon) const;
diff --git a/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx b/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx
index 98ba7cc27892..fab75a1a860f 100644
--- a/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx
+++ b/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx
@@ -101,9 +101,6 @@ namespace basegfx
// reset to empty state
void clear();
- // closed state
- bool isClosed() const;
-
// flip polygon direction
void flip();
diff --git a/basegfx/inc/basegfx/range/b1drange.hxx b/basegfx/inc/basegfx/range/b1drange.hxx
index cac1efb075b6..97e0cb9f0a20 100644
--- a/basegfx/inc/basegfx/range/b1drange.hxx
+++ b/basegfx/inc/basegfx/range/b1drange.hxx
@@ -71,8 +71,6 @@ namespace basegfx
expand(fStartValue2);
}
- BASEGFX_DLLPUBLIC explicit B1DRange( const B1IRange& rRange );
-
/** Check if the interval set is empty
@return false, if no value is in this set - having a
@@ -177,12 +175,6 @@ namespace basegfx
}
};
- /** Round double to nearest integer for 1D range
-
- @return the nearest integer for this range
- */
- BASEGFX_DLLPUBLIC B1IRange fround(const B1DRange& rRange);
-
} // end of namespace basegfx
diff --git a/basegfx/inc/basegfx/range/b2drange.hxx b/basegfx/inc/basegfx/range/b2drange.hxx
index b8a51aeb8800..7d7edb05c654 100644
--- a/basegfx/inc/basegfx/range/b2drange.hxx
+++ b/basegfx/inc/basegfx/range/b2drange.hxx
@@ -292,12 +292,6 @@ namespace basegfx
MyBasicRange maRangeY;
};
- /** Round double to nearest integer for 2D range
-
- @return the nearest integer for this range
- */
- BASEGFX_DLLPUBLIC B2IRange fround(const B2DRange& rRange);
-
/** Compute the set difference of the two given ranges
This method calculates the symmetric difference (aka XOR)
diff --git a/basegfx/inc/basegfx/range/b3drange.hxx b/basegfx/inc/basegfx/range/b3drange.hxx
index 353d16cddc69..8f1caf0febaf 100644
--- a/basegfx/inc/basegfx/range/b3drange.hxx
+++ b/basegfx/inc/basegfx/range/b3drange.hxx
@@ -83,8 +83,6 @@ namespace basegfx
expand(rTuple2);
}
- BASEGFX_DLLPUBLIC explicit B3DRange(const B3IRange& rRange);
-
bool isEmpty() const
{
return (
@@ -276,12 +274,6 @@ namespace basegfx
BASEGFX_DLLPUBLIC void transform(const B3DHomMatrix& rMatrix);
};
- /** Round double to nearest integer for 3D range
-
- @return the nearest integer for this range
- */
- BASEGFX_DLLPUBLIC B3IRange fround(const B3DRange& rRange);
-
} // end of namespace basegfx
diff --git a/basegfx/inc/basegfx/tools/canvastools.hxx b/basegfx/inc/basegfx/tools/canvastools.hxx
index ea1924afb994..40f45e02a722 100644
--- a/basegfx/inc/basegfx/tools/canvastools.hxx
+++ b/basegfx/inc/basegfx/tools/canvastools.hxx
@@ -165,21 +165,11 @@ namespace basegfx
BASEGFX_DLLPUBLIC ::basegfx::B2IVector b2ISizeFromIntegerSize2D( const ::com::sun::star::geometry::IntegerSize2D& );
BASEGFX_DLLPUBLIC ::basegfx::B2IRange b2IRectangleFromIntegerRectangle2D( const ::com::sun::star::geometry::IntegerRectangle2D& );
- BASEGFX_DLLPUBLIC ::com::sun::star::awt::Size awtSizeFromB2ISize( const ::basegfx::B2IVector& );
- BASEGFX_DLLPUBLIC ::com::sun::star::awt::Point awtPointFromB2IPoint( const ::basegfx::B2IPoint& );
- BASEGFX_DLLPUBLIC ::com::sun::star::awt::Rectangle awtRectangleFromB2IRectangle( const ::basegfx::B2IRange& );
-
- BASEGFX_DLLPUBLIC ::basegfx::B2IVector b2ISizeFromAwtSize( const ::com::sun::star::awt::Size& );
- BASEGFX_DLLPUBLIC ::basegfx::B2IPoint b2IPointFromAwtPoint( const ::com::sun::star::awt::Point& );
BASEGFX_DLLPUBLIC ::basegfx::B2IRange b2IRectangleFromAwtRectangle( const ::com::sun::star::awt::Rectangle& );
// Geometry comparisons
// ===================================================================
- BASEGFX_DLLPUBLIC bool awtSizeAreEqual( const ::com::sun::star::awt::Size& rA, const ::com::sun::star::awt::Size& rB );
- BASEGFX_DLLPUBLIC bool awtPointAreEqual( const ::com::sun::star::awt::Point& rA, const ::com::sun::star::awt::Point& rB );
- BASEGFX_DLLPUBLIC bool awtRectangleAreEqual( const ::com::sun::star::awt::Rectangle& rA, const ::com::sun::star::awt::Rectangle& rB );
-
/** Return smalltest integer range, which completely contains
given floating point range.
diff --git a/basegfx/inc/basegfx/tools/unopolypolygon.hxx b/basegfx/inc/basegfx/tools/unopolypolygon.hxx
index ca04b7a5f776..558ab7ea4c43 100644
--- a/basegfx/inc/basegfx/tools/unopolypolygon.hxx
+++ b/basegfx/inc/basegfx/tools/unopolypolygon.hxx
@@ -95,9 +95,6 @@ namespace unotools
sal_Int32 nPointIndex,
sal_Int32 nNumberOfPoints ) const;
- /// Get cow copy of internal polygon. not thread-safe outside this object.
- B2DPolyPolygon getPolyPolygonUnsafe() const;
-
/// Called whenever internal polypolygon gets modified
virtual void modifying() const {}
diff --git a/basegfx/inc/basegfx/tuple/b2i64tuple.hxx b/basegfx/inc/basegfx/tuple/b2i64tuple.hxx
index bbea7a532296..7af092b04601 100644
--- a/basegfx/inc/basegfx/tuple/b2i64tuple.hxx
+++ b/basegfx/inc/basegfx/tuple/b2i64tuple.hxx
@@ -198,8 +198,6 @@ namespace basegfx
mnY = rTup.mnY;
return *this;
}
-
- static const B2I64Tuple& getEmptyTuple();
};
// external operators
diff --git a/basegfx/inc/basegfx/tuple/b2ituple.hxx b/basegfx/inc/basegfx/tuple/b2ituple.hxx
index 4072073026a9..12459e0d5765 100644
--- a/basegfx/inc/basegfx/tuple/b2ituple.hxx
+++ b/basegfx/inc/basegfx/tuple/b2ituple.hxx
@@ -196,8 +196,6 @@ namespace basegfx
mnY = rTup.mnY;
return *this;
}
-
- static const B2ITuple& getEmptyTuple();
};
// external operators
diff --git a/basegfx/inc/basegfx/tuple/b3dtuple.hxx b/basegfx/inc/basegfx/tuple/b3dtuple.hxx
index a202b3452365..0ed99431da2f 100644
--- a/basegfx/inc/basegfx/tuple/b3dtuple.hxx
+++ b/basegfx/inc/basegfx/tuple/b3dtuple.hxx
@@ -95,13 +95,6 @@ namespace basegfx
mfZ( rTup.mfZ )
{}
- /** Create a copy of a 3D integer Tuple
-
- @param rTup
- The 3D Tuple which will be copied.
- */
- explicit B3DTuple(const B3ITuple& rTup);
-
~B3DTuple()
{}
diff --git a/basegfx/inc/basegfx/tuple/b3i64tuple.hxx b/basegfx/inc/basegfx/tuple/b3i64tuple.hxx
index 598a1d9f3b36..9e8fa7f3fbd7 100644
--- a/basegfx/inc/basegfx/tuple/b3i64tuple.hxx
+++ b/basegfx/inc/basegfx/tuple/b3i64tuple.hxx
@@ -206,12 +206,6 @@ namespace basegfx
return B3I64Tuple(-mnX, -mnY, -mnZ);
}
- bool equalZero() const
- {
- return (this == &getEmptyTuple() ||
- (mnX == 0 && mnY == 0 && mnZ == 0));
- }
-
bool operator==( const B3I64Tuple& rTup ) const
{
return this == &rTup || (rTup.mnX == mnX && rTup.mnY == mnY && rTup.mnZ == mnZ);
@@ -229,8 +223,6 @@ namespace basegfx
mnZ = rTup.mnZ;
return *this;
}
-
- static const B3I64Tuple& getEmptyTuple();
};
// external operators
diff --git a/basegfx/inc/basegfx/tuple/b3ituple.hxx b/basegfx/inc/basegfx/tuple/b3ituple.hxx
index a822702ce87f..da3dc231dfc6 100644
--- a/basegfx/inc/basegfx/tuple/b3ituple.hxx
+++ b/basegfx/inc/basegfx/tuple/b3ituple.hxx
@@ -205,12 +205,6 @@ namespace basegfx
return B3ITuple(-mnX, -mnY, -mnZ);
}
- bool equalZero() const
- {
- return (this == &getEmptyTuple() ||
- (mnX == 0 && mnY == 0 && mnZ == 0));
- }
-
bool operator==( const B3ITuple& rTup ) const
{
return this == &rTup || (rTup.mnX == mnX && rTup.mnY == mnY && rTup.mnZ == mnZ);
@@ -228,8 +222,6 @@ namespace basegfx
mnZ = rTup.mnZ;
return *this;
}
-
- static const B3ITuple& getEmptyTuple();
};
// external operators
diff --git a/basegfx/inc/basegfx/vector/b2dvector.hxx b/basegfx/inc/basegfx/vector/b2dvector.hxx
index 174dd5aac7e3..109f64602c24 100644
--- a/basegfx/inc/basegfx/vector/b2dvector.hxx
+++ b/basegfx/inc/basegfx/vector/b2dvector.hxx
@@ -142,14 +142,6 @@ namespace basegfx
*/
B2DVector& normalize();
- /** Test if this 2D Vector is normalized
-
- @return
- true if lenth of vector is equal to 1.0
- false else
- */
- bool isNormalized() const;
-
/** Calculate the Scalar with another 2D Vector
@param rVec
diff --git a/basegfx/inc/basegfx/vector/b2ivector.hxx b/basegfx/inc/basegfx/vector/b2ivector.hxx
index 2fcbc540b755..e1df2b49750d 100644
--- a/basegfx/inc/basegfx/vector/b2ivector.hxx
+++ b/basegfx/inc/basegfx/vector/b2ivector.hxx
@@ -141,20 +141,6 @@ namespace basegfx
// external operators
//////////////////////////////////////////////////////////////////////////
- /** Test two vectors which need not to be normalized for parallelism
-
- @param rVecA
- The first 2D Vector
-
- @param rVecB
- The second 2D Vector
-
- @return
- bool if the two values are parallel. Also true if
- one of the vectors is empty.
- */
- BASEGFX_DLLPUBLIC bool areParallel( const B2IVector& rVecA, const B2IVector& rVecB );
-
/** Transform vector by given transformation matrix.
Since this is a vector, translational components of the
diff --git a/basegfx/inc/basegfx/vector/b3ivector.hxx b/basegfx/inc/basegfx/vector/b3ivector.hxx
index 4dea54bc747c..42760d6dd90d 100644
--- a/basegfx/inc/basegfx/vector/b3ivector.hxx
+++ b/basegfx/inc/basegfx/vector/b3ivector.hxx
@@ -220,11 +220,6 @@ namespace basegfx
matrix are disregarded.
*/
B3IVector& operator*=( const B3DHomMatrix& rMat );
-
- static const B3IVector& getEmptyVector()
- {
- return (const B3IVector&) ::basegfx::B3ITuple::getEmptyTuple();
- }
};
// external operators