Change texture painter clip expand joint style to round from miter
parent
eeff771a3b
commit
a2770ecd8e
|
@ -130,7 +130,7 @@ QPainterPath TextureGenerator::expandedPainterPath(const QPainterPath &painterPa
|
|||
{
|
||||
QPainterPathStroker stroker;
|
||||
stroker.setWidth(expandSize);
|
||||
stroker.setJoinStyle(Qt::MiterJoin);
|
||||
stroker.setJoinStyle(Qt::RoundJoin);
|
||||
return (stroker.createStroke(painterPath) + painterPath).simplified();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue