Skip to content
Permalink
Browse files

fix windows build

  • Loading branch information
jef-n committed Jan 24, 2014
1 parent dd26778 commit 72988e9aa454b551c5dd2121a880541aa0cc117f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgsfillsymbollayerv2.cpp
@@ -1647,7 +1647,7 @@ void QgsLinePatternFillSymbolLayer::applyPattern( const QgsSymbolV2RenderContext
width = qAbs( height / tan( lineAngle * M_PI / 180 ) );

// recalculate real angle and distance after rounding to pixels
lineAngle = 180 * qAbs( atan2( height, width ) ) / M_PI;
lineAngle = 180 * qAbs( atan2(( double ) height, ( double ) width ) ) / M_PI;
outputPixelDist = height * cos( lineAngle * M_PI / 180 );

// Round offset to correspond to one pixel height, otherwise lines may

0 comments on commit 72988e9

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