mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Set ellipse renderer outline as float. Fix for ticket #4171
This commit is contained in:
parent
b3996c368b
commit
c6a18002b7
@ -101,7 +101,7 @@ void QgsEllipseSymbolLayerV2::renderPoint( const QPointF& point, QgsSymbolV2Rend
|
||||
if ( mOutlineWidthField.first != -1 )
|
||||
{
|
||||
double width = context.outputLineWidth( f->attributeMap()[mOutlineWidthField.first].toDouble() );
|
||||
mPen.setWidth( width );
|
||||
mPen.setWidthF( width );
|
||||
}
|
||||
if ( mFillColorField.first != -1 )
|
||||
{
|
||||
@ -160,7 +160,7 @@ void QgsEllipseSymbolLayerV2::startRender( QgsSymbolV2RenderContext& context )
|
||||
preparePath( mSymbolName, context );
|
||||
}
|
||||
mPen.setColor( mOutlineColor );
|
||||
mPen.setWidth( context.outputLineWidth( mOutlineWidth ) );
|
||||
mPen.setWidthF( context.outputLineWidth( mOutlineWidth ) );
|
||||
mBrush.setColor( mFillColor );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user