r13842 by fschmid - Fixed Bug #8330: "Convert Stroke to Path" is buggy
scribus-commit
scribus-commit at lists.scribus.net
Wed Aug 26 05:33:54 CEST 2009
Revision: 13842
Author: fschmid
Date: 2009-08-11T07:46:07.649759Z
Commit message: Fixed Bug #8330: "Convert Stroke to Path" is buggy
Changeset:
M /trunk/Scribus/scribus/plugins/tools/pathstroker/pathstroker.cpp
Diffs:
Index: scribus/plugins/tools/pathstroker/pathstroker.cpp
===================================================================
--- scribus/plugins/tools/pathstroker/pathstroker.cpp (revision 13841)
+++ scribus/plugins/tools/pathstroker/pathstroker.cpp (revision 13842)
@@ -137,7 +137,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);
@@ -220,7 +220,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