[Qgis-developer] python: QgsMapCanvas.enableAntiAliasing(True) has no effect?

Martin Dobias wonder.sk at gmail.com
Fri Mar 20 11:50:00 EDT 2009


On Fri, Mar 20, 2009 at 4:00 PM, Andreas Neumann <a.neumann at carto.net> wrote:
> Hi,
>
> I am trying to enable antialiasing for my QgsMapCanvas with python.
>
> I use
> previewMap.enableAntiAliasing(True)
>
> just after creating the QgsMapCanvas, just after creating it, setting the
> CanvasColor and the units.

I've just tried calling iface.mapCanvas().enableAntiAliasing() with
both true and false value from python console and it seems to work for
me.

martin


More information about the Qgis-developer mailing list