Skip to content

Commit fad314f

Browse files
author
timlinux
committed
Just added some comments
git-svn-id: http://svn.osgeo.org/qgis/trunk@5152 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent d35e870 commit fad314f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsmarkercatalogue.cpp

+2
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)