Skip to content
Permalink
Browse files
dpi fix
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15699 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Apr 14, 2011
1 parent ef7fdab commit 9fb3dd8a2d2cf0f53707571da7ecf6ffa3dcfc0e
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/raster/qgsrasterlayer.cpp
@@ -897,6 +897,8 @@ bool QgsRasterLayer::draw( QgsRenderContext& rendererContext )

// Provider mode: See if a provider key is specified, and if so use the provider instead

mDataProvider->setDpi( rendererContext.rasterScaleFactor() * 25.4 * rendererContext.scaleFactor() );

draw( theQPainter, myRasterViewPort, &theQgsMapToPixel );

delete myRasterViewPort;

0 comments on commit 9fb3dd8

Please sign in to comment.