summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-06-10 10:39:01 +0000
committerKurt Zenker <kz@openoffice.org>2004-06-10 10:39:01 +0000
commitc2dc21f47f61c199a13e83c27201ce2f837000c0 (patch)
treebe367f217b973eb54985e59ac6cbe4c614f46dc2 /basegfx
parent09da9cb02736389ca4d71af32c3c2b87d8335e5d (diff)
INTEGRATION: CWS aw011 (1.9.12); FILE MERGED
2004/06/03 10:51:01 thb 1.9.12.1: #i29820# Changed return types from Tuple to Point/Vector, which is much more convenient for further processing
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/inc/basegfx/range/b2drange.hxx26
1 files changed, 16 insertions, 10 deletions
diff --git a/basegfx/inc/basegfx/range/b2drange.hxx b/basegfx/inc/basegfx/range/b2drange.hxx
index 096f75816873..1f234650ed7d 100644
--- a/basegfx/inc/basegfx/range/b2drange.hxx
+++ b/basegfx/inc/basegfx/range/b2drange.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b2drange.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: thb $ $Date: 2004-02-16 17:03:07 $
+ * last change: $Author: kz $ $Date: 2004-06-10 11:39:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,12 @@
#ifndef _BGFX_RANGE_B2DRANGE_HXX
#define _BGFX_RANGE_B2DRANGE_HXX
+#ifndef _BGFX_VECTOR_B2DVECTOR_HXX
+#include <basegfx/vector/b2dvector.hxx>
+#endif
+#ifndef _BGFX_POINT_B2DPOINT_HXX
+#include <basegfx/point/b2dpoint.hxx>
+#endif
#ifndef _BGFX_TUPLE_B2DTUPLE_HXX
#include <basegfx/tuple/b2dtuple.hxx>
#endif
@@ -177,33 +183,33 @@ namespace basegfx
return maRangeY.getRange();
}
- B2DTuple getMinimum() const
+ B2DPoint getMinimum() const
{
- return B2DTuple(
+ return B2DPoint(
maRangeX.getMinimum(),
maRangeY.getMinimum()
);
}
- B2DTuple getMaximum() const
+ B2DPoint getMaximum() const
{
- return B2DTuple(
+ return B2DPoint(
maRangeX.getMaximum(),
maRangeY.getMaximum()
);
}
- B2DTuple getRange() const
+ B2DVector getRange() const
{
- return B2DTuple(
+ return B2DVector(
maRangeX.getRange(),
maRangeY.getRange()
);
}
- B2DTuple getCenter() const
+ B2DPoint getCenter() const
{
- return B2DTuple(
+ return B2DPoint(
maRangeX.getCenter(),
maRangeY.getCenter()
);