Correct arrow size for print (#3144)

git-svn-id: http://svn.osgeo.org/qgis/trunk@14428 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
wonder 2010-10-22 20:00:42 +00:00
parent 9f7ed1ec82
commit 8ca991c09d

View File

@ -458,7 +458,7 @@ void QgsLineDecorationSymbolLayerV2::renderPolyline( const QPolygonF& points, Qg
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;