Skip to content

Commit 10f699e

Browse files
author
Stéphane Brunner
committedOct 19, 2013
Fix symbole size
1 parent a0eb3c6 commit 10f699e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/symbology-ng/qgssymbollayerv2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ void QgsLineSymbolLayerV2::renderPolygonOutline( const QPolygonF& points, QList<
318318

319319
void QgsFillSymbolLayerV2::drawPreviewIcon( QgsSymbolV2RenderContext& context, QSize size )
320320
{
321-
QPolygonF poly = QRectF( QPointF( 0, 0 ), QPointF( size.width() - 1, size.height() - 1 ) );
321+
QPolygonF poly = QRectF( QPointF( 0, 0 ), QPointF( size.width(), size.height() ) );
322322
startRender( context );
323323
renderPolygon( poly, NULL, context );
324324
stopRender( context );

0 commit comments

Comments
 (0)
Please sign in to comment.