Skip to content

Commit

Permalink
Set ellipse renderer outline as float. Fix for ticket #4171
Browse files Browse the repository at this point in the history
  • Loading branch information
marco committed Aug 14, 2011
1 parent b3996c3 commit c6a1800
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/symbology-ng/qgsellipsesymbollayerv2.cpp
Expand Up @@ -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 )
{
Expand Down Expand Up @@ -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 );
}

Expand Down

0 comments on commit c6a1800

Please sign in to comment.