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@15699 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Apr 14, 2011
1 parent 4d3cdec commit 72ee7e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/raster/qgsrasterlayer.cpp
Original file line number Diff line number Diff line change
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 72ee7e6

Please sign in to comment.