[QGIS Commit] r12757 - trunk/qgis/src/core/symbology-ng

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Jan 14 13:01:01 EST 2010


Author: wonder
Date: 2010-01-14 13:01:01 -0500 (Thu, 14 Jan 2010)
New Revision: 12757

Modified:
   trunk/qgis/src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
Log:
Fixed what I've broken with previous commit


Modified: trunk/qgis/src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
===================================================================
--- trunk/qgis/src/core/symbology-ng/qgsmarkersymbollayerv2.cpp	2010-01-14 17:50:44 UTC (rev 12756)
+++ trunk/qgis/src/core/symbology-ng/qgsmarkersymbollayerv2.cpp	2010-01-14 18:01:01 UTC (rev 12757)
@@ -199,8 +199,8 @@
   //drawMarker(p);
   //mCache.save("/home/marco/tmp/marker.png", "PNG");
   double s = mCache.width() / context.renderContext().rasterScaleFactor();
-  p->drawImage( QRectF( context.outputLineWidth( point.x() - s / 2.0 + mOffset.x() ),
-                        context.outputLineWidth( point.y() - s / 2.0 + mOffset.y() ),
+  p->drawImage( QRectF( point.x() - s / 2.0 + context.outputLineWidth( mOffset.x() ),
+                        point.y() - s / 2.0 + context.outputLineWidth( mOffset.y() ),
                         s, s ), mCache );
   //p->restore();
 }



More information about the QGIS-commit mailing list