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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Oct 22 16:00:42 EDT 2010


Author: wonder
Date: 2010-10-22 13:00:42 -0700 (Fri, 22 Oct 2010)
New Revision: 14428

Modified:
   trunk/qgis/src/core/symbology-ng/qgslinesymbollayerv2.cpp
Log:
Correct arrow size for print (#3144)


Modified: trunk/qgis/src/core/symbology-ng/qgslinesymbollayerv2.cpp
===================================================================
--- trunk/qgis/src/core/symbology-ng/qgslinesymbollayerv2.cpp	2010-10-22 19:45:21 UTC (rev 14427)
+++ trunk/qgis/src/core/symbology-ng/qgslinesymbollayerv2.cpp	2010-10-22 20:00:42 UTC (rev 14428)
@@ -458,7 +458,7 @@
   QPointF p2 = points.at( cnt - 1 );
   double angle = _calculateAngle( p1.x(), p1.y(), p2.x(), p2.y() );
 
-  double size = 6;
+  double size = context.outputLineWidth( 2 );
   double angle1 = angle + M_PI / 6;
   double angle2 = angle - M_PI / 6;
 



More information about the QGIS-commit mailing list