r16320 by fschmid - PathStroker Plugin: don't use QPainterPath::simplyfied() as this function flattens the path, removing all bezier elements, which leads to a large number of points to draw.

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 29 23:17:41 CET 2011


Author: fschmid
Date: Sat Jan 29 22:17:41 2011
New Revision: 16320

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16320
Log:
PathStroker Plugin: don't use QPainterPath::simplyfied() as this function flattens the path, removing all bezier elements, which leads to a large number of points to draw.

Modified:
    trunk/Scribus/scribus/plugins/tools/pathstroker/pathstroker.cpp

Modified: trunk/Scribus/scribus/plugins/tools/pathstroker/pathstroker.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16320&path=/trunk/Scribus/scribus/plugins/tools/pathstroker/pathstroker.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/pathstroker/pathstroker.cpp (original)
+++ trunk/Scribus/scribus/plugins/tools/pathstroker/pathstroker.cpp Sat Jan 29 22:17:41 2011
@@ -145,7 +145,7 @@
 				stroke.setDashPattern(m_array);
 			}
 			stroke.setWidth(currItem->lineWidth());
-			QPainterPath result = stroke.createStroke(pp).simplified();
+			QPainterPath result = stroke.createStroke(pp);
 			if (currItem->startArrowIndex() != 0)
 			{
 				FPoint Start = currItem->PoLine.point(0);




More information about the scribus-commit mailing list