Improved squiggly annotation tool icon

This commit is contained in:
Fabio D'Urso 2013-07-31 21:30:57 +02:00
parent c64a6499e2
commit 741abdc4a1

View file

@ -1198,7 +1198,9 @@ QPixmap PageViewAnnotator::makeToolPixmap( const QDomElement &toolElement )
}
else if ( annotType == "squiggly" )
{
p.setPen( QPen( engineColor, 1, Qt::DotLine ) );
QPen pen( engineColor, 1 );
pen.setDashPattern( QVector<qreal>() << 1 << 1 );
p.setPen( pen );
p.drawLine( 1, 13, 16, 13 );
p.drawLine( 2, 14, 15, 14 );
p.drawLine( 0, 20, 19, 20 );