We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d3cdec commit 72ee7e6Copy full SHA for 72ee7e6
src/core/raster/qgsrasterlayer.cpp
@@ -897,6 +897,8 @@ bool QgsRasterLayer::draw( QgsRenderContext& rendererContext )
897
898
// Provider mode: See if a provider key is specified, and if so use the provider instead
899
900
+ mDataProvider->setDpi( rendererContext.rasterScaleFactor() * 25.4 * rendererContext.scaleFactor() );
901
+
902
draw( theQPainter, myRasterViewPort, &theQgsMapToPixel );
903
904
delete myRasterViewPort;
0 commit comments