diff options
author | Armin Weiss <aw@openoffice.org> | 2004-01-16 13:30:10 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2004-01-16 13:30:10 +0000 |
commit | 99a300e39ace4f9bd1af8ad85ef49f35f7117fc7 (patch) | |
tree | 9ef5e2b8c9359e42cd27ca82d6614249a9474314 /basegfx/source/point | |
parent | c794c5ce7ea7b11f7275a471821310dcd3dd552e (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/source/point')
-rw-r--r-- | basegfx/source/point/b2dpoint.cxx | 10 | ||||
-rw-r--r-- | basegfx/source/point/b3dpoint.cxx | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/basegfx/source/point/b2dpoint.cxx b/basegfx/source/point/b2dpoint.cxx index dab49a9fe392..a2c1a2716597 100644 --- a/basegfx/source/point/b2dpoint.cxx +++ b/basegfx/source/point/b2dpoint.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b2dpoint.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: aw $ $Date: 2003-11-28 11:18:04 $ + * last change: $Author: aw $ $Date: 2004-01-16 14:30:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -89,6 +89,12 @@ namespace basegfx return *this; } + + B2DPoint operator*( const ::basegfx::B2DHomMatrix& rMat, const B2DPoint& rPoint ) + { + B2DPoint aRes( rPoint ); + return aRes *= rMat; + } } // end of namespace basegfx // eof diff --git a/basegfx/source/point/b3dpoint.cxx b/basegfx/source/point/b3dpoint.cxx index 9ece7171af62..a0d9435b94e8 100644 --- a/basegfx/source/point/b3dpoint.cxx +++ b/basegfx/source/point/b3dpoint.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b3dpoint.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: aw $ $Date: 2003-11-28 11:18:04 $ + * last change: $Author: aw $ $Date: 2004-01-16 14:30:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -89,6 +89,12 @@ namespace basegfx return *this; } + + B3DPoint operator*( const ::basegfx::B3DHomMatrix& rMat, const B3DPoint& rPoint ) + { + B3DPoint aRes( rPoint ); + return aRes *= rMat; + } } // end of namespace basegfx // eof |