[Qt-interest] render svg into QImage

Jason H scorp1us at yahoo.com
Tue Jan 18 18:28:33 CET 2011


[reply to all]

What would happen if his painter/paintdevice/destination didn't support ARGB? 

Would it try to fake it on RGB?




----- Original Message ----
From: Alessandro Portale <alessandro.portale at nokia.com>
To: qt-interest at qt.nokia.com
Sent: Tue, January 18, 2011 10:02:30 AM
Subject: Re: [Qt-interest] render svg into QImage

On 1/18/2011 3:51 PM, ext William Tambellini wrote:
> I am rendering a svg file into a QImage.
> ...
> Despite lot of trials playing with nearly all the options of Renderer,
> Image and Painter, the image is STILL antialiased whereas I want a raw
> NON antialiased image.
> ...
> -Cant this engine draw image WITHOUT antialliasing feature ?

Unfortunaltely, antialiasing is forced in the QSvgTinyDocument::draw() 
functions.


http://qt.gitorious.org/qt/qt/blobs/4.7/src/svg/qsvgtinydocument.cpp#line230

...and I do not know of an easy way to work around that. Sorry :/

> -Is it a bug ?

That can imho easily count as a bug, and would make a good entry in 
bugreports.qt.nokia.com

Best Regards,
Alessandro
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest


      



More information about the Qt-interest-old mailing list