mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 03:30:20 +00:00
Improved squiggly annotation tool icon
This commit is contained in:
parent
c64a6499e2
commit
741abdc4a1
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue