Skip to content
Permalink
Browse files
[composer] Default to miter style for shapes and page background
  • Loading branch information
nyalldawson committed Apr 8, 2014
1 parent e71930f commit 205e8120ff9168e26ba6b0274cbb341a88502e91
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/core/composer/qgscomposershape.cpp
  2. +1 −0 src/core/composer/qgscomposition.cpp
@@ -81,6 +81,7 @@ void QgsComposerShape::createDefaultShapeStyleSymbol()
properties.insert( "style_border", "solid" );
properties.insert( "color_border", "black" );
properties.insert( "width_border", "0.3" );
properties.insert( "joinstyle", "miter" );
mShapeStyleSymbol = QgsFillSymbolV2::createSimple( properties );

mMaxSymbolBleed = QgsSymbolLayerV2Utils::estimateMaxSymbolBleed( mShapeStyleSymbol );
@@ -277,6 +277,7 @@ void QgsComposition::createDefaultPageStyleSymbol()
properties.insert( "color", "white" );
properties.insert( "style", "solid" );
properties.insert( "style_border", "no" );
properties.insert( "joinstyle", "miter" );
mPageStyleSymbol = QgsFillSymbolV2::createSimple( properties );
}

0 comments on commit 205e812

Please sign in to comment.