diff options
Diffstat (limited to 'basegfx/inc/basegfx/point/b2dpoint.hxx')
-rw-r--r-- | basegfx/inc/basegfx/point/b2dpoint.hxx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/point/b2dpoint.hxx b/basegfx/inc/basegfx/point/b2dpoint.hxx index 297bada3ba56..eb5f042f69e8 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.2 $ + * $Revision: 1.3 $ * - * last change: $Author: aw $ $Date: 2003-11-06 16:30:23 $ + * last change: $Author: aw $ $Date: 2003-11-26 14:39:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -130,6 +130,24 @@ namespace basegfx ~B2DPoint() {} + /** *=operator to allow usage from B2DPoint, too + */ + B2DPoint& operator*=( const B2DPoint& rPnt ) + { + mfX *= rPnt.mfX; + mfY *= rPnt.mfY; + return *this; + } + + /** *=operator to allow usage from B2DPoint, too + */ + B2DPoint& operator*=(double t) + { + mfX *= t; + mfY *= t; + return *this; + } + /** assignment operator to allow assigning the results of B2DTuple calculations */ |