summaryrefslogtreecommitdiff
path: root/basegfx/source/point/b2dpoint.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/point/b2dpoint.cxx')
-rw-r--r--basegfx/source/point/b2dpoint.cxx41
1 files changed, 19 insertions, 22 deletions
diff --git a/basegfx/source/point/b2dpoint.cxx b/basegfx/source/point/b2dpoint.cxx
index 34c14f89bdac..dab49a9fe392 100644
--- a/basegfx/source/point/b2dpoint.cxx
+++ b/basegfx/source/point/b2dpoint.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b2dpoint.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: aw $ $Date: 2003-11-06 16:30:28 $
+ * last change: $Author: aw $ $Date: 2003-11-28 11:18:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -69,29 +69,26 @@
namespace basegfx
{
- namespace point
+ B2DPoint& B2DPoint::operator=( const ::basegfx::B2DTuple& rPoint )
{
- B2DPoint& B2DPoint::operator=( const ::basegfx::tuple::B2DTuple& rPoint )
- {
- mfX = rPoint.getX();
- mfY = rPoint.getY();
- return *this;
- }
+ mfX = rPoint.getX();
+ mfY = rPoint.getY();
+ return *this;
+ }
- B2DPoint& B2DPoint::operator*=( const ::basegfx::matrix::B2DHomMatrix& rMat )
- {
- const double fTempX( rMat.get(0,0)*mfX +
- rMat.get(0,1)*mfY +
- rMat.get(0,2) );
- const double fTempY( rMat.get(1,0)*mfX +
- rMat.get(1,1)*mfY +
- rMat.get(1,2) );
- mfX = fTempX;
- mfY = fTempY;
+ B2DPoint& B2DPoint::operator*=( const ::basegfx::B2DHomMatrix& rMat )
+ {
+ const double fTempX( rMat.get(0,0)*mfX +
+ rMat.get(0,1)*mfY +
+ rMat.get(0,2) );
+ const double fTempY( rMat.get(1,0)*mfX +
+ rMat.get(1,1)*mfY +
+ rMat.get(1,2) );
+ mfX = fTempX;
+ mfY = fTempY;
- return *this;
- }
- } // end of namespace point
+ return *this;
+ }
} // end of namespace basegfx
// eof