summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorPascal Junck <pjunck@openoffice.org>2004-11-03 07:33:37 +0000
committerPascal Junck <pjunck@openoffice.org>2004-11-03 07:33:37 +0000
commit3057e47e9d37cef335fbee1e183f49ef57eba4c2 (patch)
treee5e3f0e79d77ef441d7a1dc315eb1d9c4cb11138 /basegfx
parentf0e9a1408944b057b774d6b00535dbeea94b2efd (diff)
INTEGRATION: CWS aw019 (1.8.36); FILE MERGED
2004/10/06 11:14:07 aw 1.8.36.1: #i34831#
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/inc/basegfx/point/b2dpoint.hxx18
1 files changed, 15 insertions, 3 deletions
diff --git a/basegfx/inc/basegfx/point/b2dpoint.hxx b/basegfx/inc/basegfx/point/b2dpoint.hxx
index b632319b3d11..d01be9503600 100644
--- a/basegfx/inc/basegfx/point/b2dpoint.hxx
+++ b/basegfx/inc/basegfx/point/b2dpoint.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b2dpoint.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: thb $ $Date: 2004-02-16 17:03:05 $
+ * last change: $Author: pjunck $ $Date: 2004-11-03 08:33:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -66,6 +66,10 @@
#include <basegfx/tuple/b2dtuple.hxx>
#endif
+#ifndef _BGFX_POINT_B2IPOINT_HXX
+#include <basegfx/point/b2ipoint.hxx>
+#endif
+
namespace basegfx
{
// predeclaration
@@ -113,6 +117,15 @@ namespace basegfx
: B2DTuple(rPoint)
{}
+ /** Create a copy of a 2D Point
+
+ @param rPoint
+ The 2D Point which will be copied.
+ */
+ B2DPoint(const ::basegfx::B2IPoint& rPoint)
+ : B2DTuple(rPoint)
+ {}
+
/** constructor with tuple to allow copy-constructing
from B2DTuple-based classes
*/
@@ -168,7 +181,6 @@ namespace basegfx
matrix are used.
*/
B2DPoint operator*( const B2DHomMatrix& rMat, const B2DPoint& rPoint );
-
} // end of namespace basegfx
#endif /* _BGFX_POINT_B2DPOINT_HXX */