Skip to content
Permalink
Browse files

Set ellipse renderer outline as float. Fix for ticket #4171

  • Loading branch information
marco
marco committed Aug 14, 2011
1 parent b3996c3 commit c6a18002b7c206d5dd3365ee9d7886907673afa4
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/symbology-ng/qgsellipsesymbollayerv2.cpp
@@ -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 );
}

0 comments on commit c6a1800

Please sign in to comment.
You can’t perform that action at this time.