From 3057e47e9d37cef335fbee1e183f49ef57eba4c2 Mon Sep 17 00:00:00 2001 From: Pascal Junck Date: Wed, 3 Nov 2004 07:33:37 +0000 Subject: INTEGRATION: CWS aw019 (1.8.36); FILE MERGED 2004/10/06 11:14:07 aw 1.8.36.1: #i34831# --- basegfx/inc/basegfx/point/b2dpoint.hxx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'basegfx/inc') 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 #endif +#ifndef _BGFX_POINT_B2IPOINT_HXX +#include +#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 */ -- cgit v1.2.3