Correctly set antialiasing flag

This commit is contained in:
Nyall Dawson 2025-09-04 13:25:20 +10:00
parent b18e2607ef
commit 9001bf71a0

View File

@ -25,6 +25,7 @@ static QgsRenderContext _createRenderContext( double mupp, double dpi, double sc
context.setScaleFactor( dpi / 25.4 );
context.setRendererScale( scale );
context.setMapToPixel( QgsMapToPixel( mupp ) );
context.setFlag( Qgis::RenderContextFlag::Antialiasing, true );
return context;
}