Skip to content

Commit

Permalink
dpi fix
Browse files Browse the repository at this point in the history
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 9fb3dd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/raster/qgsrasterlayer.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 9fb3dd8

Please sign in to comment.