mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fixed scaling of simple line offset (#3479)
git-svn-id: http://svn.osgeo.org/qgis/trunk@15603 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
e517855cb9
commit
ccee31f450
@ -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 ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user