mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
Correctly set antialiasing flag
This commit is contained in:
parent
b18e2607ef
commit
9001bf71a0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user