Big increase the value of QPainterPathStroker for very long text, thanks

re-searcher


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5617 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2018-11-29 09:42:23 +00:00
parent 3674812e83
commit 0931e9c0a9

View File

@@ -888,7 +888,7 @@ QPainterPath Conductor::shape() const
QPainterPath Conductor::nearShape() const QPainterPath Conductor::nearShape() const
{ {
QPainterPathStroker pps; QPainterPathStroker pps;
pps.setWidth(120); pps.setWidth(1300);
pps.setJoinStyle(conductor_pen.joinStyle()); pps.setJoinStyle(conductor_pen.joinStyle());
return pps.createStroke(path()); return pps.createStroke(path());
} }