[qet] qet/qet: [5617] Big increase the value of QPainterPathStroker for very long text, thanks

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 5617
Author:   scorpio810
Date:     2018-11-29 10:42:23 +0100 (Thu, 29 Nov 2018)
Log Message:
-----------
Big increase the value of QPainterPathStroker for very long text, thanks
re-searcher

Modified Paths:
--------------
    trunk/sources/qetgraphicsitem/conductor.cpp

Modified: trunk/sources/qetgraphicsitem/conductor.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/conductor.cpp	2018-11-26 22:52:17 UTC (rev 5616)
+++ trunk/sources/qetgraphicsitem/conductor.cpp	2018-11-29 09:42:23 UTC (rev 5617)
@@ -888,7 +888,7 @@
 QPainterPath Conductor::nearShape() const
 {
 	QPainterPathStroker pps;
-	pps.setWidth(120);
+	pps.setWidth(1300);
 	pps.setJoinStyle(conductor_pen.joinStyle());
 	return pps.createStroke(path());
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/