r13855 by jghali - #8330, incorrect stroke to path conversion : backport Franz's fix from 1.5.0svn
scribus-commit
scribus-commit at lists.scribus.net
Wed Aug 26 05:37:28 CEST 2009
Revision: 13855
Author: jghali
Date: 2009-08-14T19:53:30.813760Z
Commit message: #8330, incorrect stroke to path conversion : backport Franz's fix from 1.5.0svn
Changeset:
M /branches/Version135/Scribus/scribus/plugins/tools/pathstroker/pathstroker.cpp
Diffs:
Index: scribus/plugins/tools/pathstroker/pathstroker.cpp
===================================================================
--- scribus/plugins/tools/pathstroker/pathstroker.cpp (revision 13854)
+++ scribus/plugins/tools/pathstroker/pathstroker.cpp (revision 13855)
@@ -135,7 +135,7 @@
stroke.setDashPattern(m_array);
}
stroke.setWidth(currItem->lineWidth());
- QPainterPath result = stroke.createStroke(pp);
+ QPainterPath result = stroke.createStroke(pp).simplified();
if (currItem->startArrowIndex() != 0)
{
FPoint Start = currItem->PoLine.point(0);
@@ -218,7 +218,7 @@
stroke.setDashPattern(m_array);
}
stroke.setWidth(ml[it].Width);
- QPainterPath result = stroke.createStroke(pp);
+ QPainterPath result = stroke.createStroke(pp).simplified();
PageItem* newItem;
if (first)
{
More information about the scribus-commit
mailing list