Skip to content

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/core/qgsmarkercatalogue.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ QPixmap QgsMarkerCatalogue::svgMarker ( QString filename, int scaleFactor)
139139

140140
QPixmap QgsMarkerCatalogue::hardMarker ( QString name, int s, QPen pen, QBrush brush, bool qtBug )
141141
{
142+
//Note teh +1 offset below is required because the
143+
//scaling to odd numbers below will cause clipping otherwise
142144
QPixmap myPixmap = QPixmap (s+1,s+1);
143145

144146
// The following is window-system-conditional since (at least)

0 commit comments

Comments
 (0)
Please sign in to comment.