On Mon, May 2, 2011 at 4:31 PM, Martin Dobias <[email protected]> wrote:
> Oh, I see! This really looks like a bug in x11 paint engine (running
> Qt 4.6.2 here). If you use QImage (raster engine) instead of QPixmap
> you get the expected result (line still on the first row). Also OpenGL
> engine gives correct results.
>
> You may try adding this before creation of QApplication instance:
> QApplication::setGraphicsSystem("raster");

I have postponed this because QApplication::setGraphicsSystem() was
introduced in  Qt 4.5 and we require Qt4.4.

>>> Shouldn't we actually use the antialiasing flag from map canvas
>>> instead of hardcoding antialiasing on? Like that the offset in
>>> rendered map and canvas items should be equal.

I have pushed this.

Radim
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to