[QGIS Commit] r15699 - trunk/qgis/src/core/raster
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Apr 14 07:42:15 EDT 2011
Author: rblazek
Date: 2011-04-14 04:42:15 -0700 (Thu, 14 Apr 2011)
New Revision: 15699
Modified:
trunk/qgis/src/core/raster/qgsrasterlayer.cpp
Log:
dpi fix
Modified: trunk/qgis/src/core/raster/qgsrasterlayer.cpp
===================================================================
--- trunk/qgis/src/core/raster/qgsrasterlayer.cpp 2011-04-13 22:15:37 UTC (rev 15698)
+++ trunk/qgis/src/core/raster/qgsrasterlayer.cpp 2011-04-14 11:42:15 UTC (rev 15699)
@@ -897,6 +897,8 @@
// 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;
More information about the QGIS-commit
mailing list