Skip to content

Commit 4459656

Browse files
author
wonder
committed
Fixed what I've broken with previous commit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12757 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent aad29b8 commit 4459656

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/symbology-ng/qgsmarkersymbollayerv2.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ void QgsSimpleMarkerSymbolLayerV2::renderPoint( const QPointF& point, QgsSymbolV
199199
//drawMarker(p);
200200
//mCache.save("/home/marco/tmp/marker.png", "PNG");
201201
double s = mCache.width() / context.renderContext().rasterScaleFactor();
202-
p->drawImage( QRectF( context.outputLineWidth( point.x() - s / 2.0 + mOffset.x() ),
203-
context.outputLineWidth( point.y() - s / 2.0 + mOffset.y() ),
202+
p->drawImage( QRectF( point.x() - s / 2.0 + context.outputLineWidth( mOffset.x() ),
203+
point.y() - s / 2.0 + context.outputLineWidth( mOffset.y() ),
204204
s, s ), mCache );
205205
//p->restore();
206206
}

0 commit comments

Comments
 (0)