Skip to content
Permalink
Browse files

Fix for wrong symbol scaling if symbol size is defined in map units a…

…nd symbol size below one pixel
  • Loading branch information
mhugent committed Oct 3, 2011
1 parent cb3ba88 commit 76f9c4d55a435131192c6224f0d0fa2151eb2f6f
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
@@ -556,6 +556,10 @@ void QgsSvgMarkerSymbolLayerV2::renderPoint( const QPointF& point, QgsSymbolV2Re
p->translate( point + outputOffset );

int size = ( int )( context.outputLineWidth( mSize ) );
if ( size < 1 ) //don't render symbols with size below one pixel
{
return;
}

if ( mAngle != 0 )
p->rotate( mAngle );

0 comments on commit 76f9c4d

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