[Qt-interest] render svg into QImage
William Tambellini
William.Tambellini at galaxysemi.com
Tue Jan 18 17:10:23 CET 2011
Dear,
Alessandro : Thanks very much and congratulations.
Nokia :
- Is it responsible that this trap/hack is written absolutely nowhere in the
Qt doc ?
- Is it responsible that absolutely no warning message are outputted in the
console as it sometimes happen for QPainter ?
- Are you going to open a bug ?
Regards,
WT.
-----Message d'origine-----
De : qt-interest-bounces+william.tambellini=galaxysemi.com at qt.nokia.com
[mailto:qt-interest-bounces+william.tambellini=galaxysemi.com at qt.nokia.com]
De la part de Alessandro Portale
Envoyé : mardi 18 janvier 2011 16:03
À : qt-interest at qt.nokia.com
Objet : 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