openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1417518 - /openoffice/trunk/main/basegfx/source/polygon/b2dlinegeometry.cxx
Date Wed, 05 Dec 2012 16:47:22 GMT
Author: alg
Date: Wed Dec  5 16:47:22 2012
New Revision: 1417518

URL: http://svn.apache.org/viewvc?rev=1417518&view=rev
Log:
Small vector calculation correction

Modified:
    openoffice/trunk/main/basegfx/source/polygon/b2dlinegeometry.cxx

Modified: openoffice/trunk/main/basegfx/source/polygon/b2dlinegeometry.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/basegfx/source/polygon/b2dlinegeometry.cxx?rev=1417518&r1=1417517&r2=1417518&view=diff
==============================================================================
--- openoffice/trunk/main/basegfx/source/polygon/b2dlinegeometry.cxx (original)
+++ openoffice/trunk/main/basegfx/source/polygon/b2dlinegeometry.cxx Wed Dec  5 16:47:22 2012
@@ -726,7 +726,7 @@ namespace basegfx
 
 					if(0.0 != fCutPos)
 					{
-						const B2DPoint aCutPoint(interpolate(aStartPoint, aStartPoint + rTangentPrev, fCutPos));
+						const B2DPoint aCutPoint(aStartPoint + (rTangentPrev * fCutPos));
 						aEdgePolygon.append(aCutPoint);
 					}
 					



Mime
View raw message