diff options
-rw-r--r-- | basegfx/inc/basegfx/point/b2dpoint.hxx | 18 |
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 */ |