<div>Hi Ivan,<br></div><div><br></div><div>right now I am working on the plugin and I have finally gotten the antialiasing working as expected with these two lines: </div><div><br></div><div>-------------------------------</div>

<div>self.canvas.useImageToRender( True )<br>        self.canvas.enableAntiAliasing( True )<br></div><div>-------------------------------</div><div><br></div><div>I am not sure if that is the appropriate way to get it working but... it works.</div>

<div><br></div><div>I plan to release the plugin soon, but I need to do the multi-layer-properties stuff before.</div><div><br></div><div>Regards, </div><div><br></div><div>Germán</div><div><br></div><br><div class="gmail_quote">

2011/3/2 Ivan Mincik <span dir="ltr">&lt;<a href="mailto:ivan.mincik@gmail.com">ivan.mincik@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi all,<br>
we are developing simple PyQGIS PostGIS viewer [1], [2] and having<br>
troubles to get antialiasing working. Code is the same as in PyQGIS<br>
Cookbook, but not working with current QGIS trunk version (<br>
self.canvas.enableAntiAliasing( True ) in QMainWindow class ).<br>
<br>
Can somebody look at code [1] (line 137 in &#39;postgis_viewer.py&#39; ) and<br>
confirm that I should fill bug report?<br>
<br>
<br>
<br>
<br>
[1] - <a href="https://github.com/imincik/QgsPostGIS-Viewer/tree/multilayer" target="_blank">https://github.com/imincik/QgsPostGIS-Viewer/tree/multilayer</a><br>
[2] - <a href="https://github.com/imincik/QgsPostGIS-Viewer" target="_blank">https://github.com/imincik/QgsPostGIS-Viewer</a><br>
<br>
Ivan<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-----------<br>  |\__  <br>(:&gt;__)(<br>  |/    <br><br>Soluciones Geoinformáticas Libres                            <br><a href="http://geotux.tuxfamily.org/">http://geotux.tuxfamily.org/</a><br>