Skip to content

Commit afe6139

Browse files
author
wonder
committedMar 25, 2011
Fixed scaling of simple line offset (#3479)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15603 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/core/symbology-ng/qgslinesymbollayerv2.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ void QgsSimpleLineSymbolLayerV2::renderPolyline( const QPolygonF& points, QgsSym
116116
}
117117
else
118118
{
119-
p->drawPolyline( ::offsetLine( points, mOffset ) );
119+
double scaledOffset = context.outputLineWidth( mOffset );
120+
p->drawPolyline( ::offsetLine( points, scaledOffset ) );
120121
}
121122
}
122123

0 commit comments

Comments
 (0)
Please sign in to comment.