From bed6ac7d1b3e8327fa27091ddde0b515f44875cd Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Wed, 5 Dec 2012 15:47:22 +0000 Subject: Small vector calculation correction (cherry picked from commit 18b55ee40a68d46407d1534a6114a30933ba2d9b) Change-Id: Ia3b07633ffd7fa9d835570fbeed332c02e478bc0 --- basegfx/source/polygon/b2dlinegeometry.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basegfx/source') diff --git a/basegfx/source/polygon/b2dlinegeometry.cxx b/basegfx/source/polygon/b2dlinegeometry.cxx index 329b48653d98..5c016bba65d8 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); } -- cgit