[Qgis-developer] Antialiasing not working in standalone PyQGIS app

Martin Dobias wonder.sk at gmail.com
Thu Mar 3 16:46:15 EST 2011


On Thu, Mar 3, 2011 at 10:03 AM, Ivan Mincik <ivan.mincik at gmail.com> wrote:
>> right now I am working on the plugin and I have finally gotten the
>> antialiasing working as expected with these two lines:
>> -------------------------------
>> self.canvas.useImageToRender( True )
>> self.canvas.enableAntiAliasing( True )
>> -------------------------------
>
> I wonder if this is official way how to enable AntiAliasing. I so, we
> should add it in to Cookbook.

It should work also if useImageToRender is False. Fixed now in trunk (r15324).

Martin


More information about the Qgis-developer mailing list