[Libreoffice-commits] core.git: basegfx/source
Armin Le Grand
alg at apache.org
Thu Apr 11 05:39:05 PDT 2013
basegfx/source/polygon/b2dlinegeometry.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bed6ac7d1b3e8327fa27091ddde0b515f44875cd
Author: Armin Le Grand <alg at apache.org>
Date: Wed Dec 5 15:47:22 2012 +0000
Small vector calculation correction
(cherry picked from commit 18b55ee40a68d46407d1534a6114a30933ba2d9b)
Change-Id: Ia3b07633ffd7fa9d835570fbeed332c02e478bc0
diff --git a/basegfx/source/polygon/b2dlinegeometry.cxx b/basegfx/source/polygon/b2dlinegeometry.cxx
index 329b486..5c016bb 100644
--- a/basegfx/source/polygon/b2dlinegeometry.cxx
+++ b/basegfx/source/polygon/b2dlinegeometry.cxx
@@ -720,7 +720,7 @@ namespace basegfx
if(0.0 != fCutPos)
{
- const B2DPoint aCutPoint(interpolate(aStartPoint, aStartPoint + rTangentPrev, fCutPos));
+ const B2DPoint aCutPoint(aStartPoint + (rTangentPrev * fCutPos));
aEdgePolygon.append(aCutPoint);
}
More information about the Libreoffice-commits
mailing list