diff options
author | Armin Weiss <aw@openoffice.org> | 2003-11-10 10:45:52 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2003-11-10 10:45:52 +0000 |
commit | ff3c6dbe35436fa508356a45b7367d4055cd6387 (patch) | |
tree | 5325d2cd5ce67961f59260d70784e083c67bdad7 /basegfx/source/point | |
parent | e7fb8a71b60f4c6e94b4cafbe9d0badf427316e3 (diff) |
Some error corrections, some additions to polygon stuff, making PolyPolygonCutter work
Diffstat (limited to 'basegfx/source/point')
-rw-r--r-- | basegfx/source/point/b2dhompoint.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/point/b2dhompoint.cxx b/basegfx/source/point/b2dhompoint.cxx index 75a5b5f0e782..575657491120 100644 --- a/basegfx/source/point/b2dhompoint.cxx +++ b/basegfx/source/point/b2dhompoint.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b2dhompoint.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: aw $ $Date: 2003-11-05 12:25:53 $ + * last change: $Author: aw $ $Date: 2003-11-10 11:45:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -228,8 +228,8 @@ namespace basegfx B2DHomPoint interpolate(B2DHomPoint& rOld1, B2DHomPoint& rOld2, double t) { B2DHomPoint aInt( - ((rOld2.getX() - rOld1.getX()) + t) + rOld1.getX(), - ((rOld2.getY() - rOld1.getY()) + t) + rOld1.getY()); + ((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX(), + ((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()); return aInt; } |