Skip to content
Permalink
Browse files
Fixed scaling of simple line offset (#3479)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15603 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 25, 2011
1 parent adea998 commit afe61392d89bda1eae4cbc3d74428bb405513e90
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/symbology-ng/qgslinesymbollayerv2.cpp
@@ -116,7 +116,8 @@ void QgsSimpleLineSymbolLayerV2::renderPolyline( const QPolygonF& points, QgsSym
}
else
{
p->drawPolyline( ::offsetLine( points, mOffset ) );
double scaledOffset = context.outputLineWidth( mOffset );
p->drawPolyline( ::offsetLine( points, scaledOffset ) );
}
}

0 comments on commit afe6139

Please sign in to comment.