summaryrefslogtreecommitdiff
path: root/basegfx/inc/basegfx/point
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2004-01-16 13:30:10 +0000
committerArmin Weiss <aw@openoffice.org>2004-01-16 13:30:10 +0000
commit99a300e39ace4f9bd1af8ad85ef49f35f7117fc7 (patch)
tree9ef5e2b8c9359e42cd27ca82d6614249a9474314 /basegfx/inc/basegfx/point
parentc794c5ce7ea7b11f7275a471821310dcd3dd552e (diff)
Added == and != operators to ranges, some other goodies, too. Also changed remaining sal_Bool to bool. Renamed B(2|3)(d|i)box to ...volume.
Diffstat (limited to 'basegfx/inc/basegfx/point')
-rw-r--r--basegfx/inc/basegfx/point/b2dpoint.hxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/point/b2dpoint.hxx b/basegfx/inc/basegfx/point/b2dpoint.hxx
index b9c29ee312f9..a6828b3416fd 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.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: thb $ $Date: 2004-01-16 10:33:55 $
+ * last change: $Author: aw $ $Date: 2004-01-16 14:29:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -158,6 +158,17 @@ namespace basegfx
return (const B2DPoint&) ::basegfx::B2DTuple::getEmptyTuple();
}
};
+
+ // external operators
+ //////////////////////////////////////////////////////////////////////////
+
+ /** Transform B2DPoint by given transformation matrix.
+
+ Since this is a Point, translational components of the
+ matrix are used.
+ */
+ B2DPoint operator*( const B2DHomMatrix& rMat, const B2DPoint& rPoint );
+
} // end of namespace basegfx
#endif // _BGFX_POINT_B2DPOINT_HXX