diff options
author | Armin Le Grand <alg@apache.org> | 2012-12-05 15:47:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-04-11 13:38:43 +0100 |
commit | bed6ac7d1b3e8327fa27091ddde0b515f44875cd (patch) | |
tree | d054587590c12321c9c1eee1685a68d5effd0d88 /basegfx/source | |
parent | f3242bc0f000ce8bef969e05dc0fce1c4927f1e9 (diff) |
Small vector calculation correction
(cherry picked from commit 18b55ee40a68d46407d1534a6114a30933ba2d9b)
Change-Id: Ia3b07633ffd7fa9d835570fbeed332c02e478bc0
Notes
Notes:
merged as: 18b55ee40a68d46407d1534a6114a30933ba2d9b
Diffstat (limited to 'basegfx/source')
-rw-r--r-- | basegfx/source/polygon/b2dlinegeometry.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |