[Qt-interest] Implementing a QPaintEngine - why pixmaps when there are no pixmaps?
Jeremy Sanders
jeremy at jeremysanders.net
Fri Sep 11 14:03:47 CEST 2009
Jeremy Sanders wrote:
> Postscript and PDF paint engines don't seem to use pixmaps for the same
> QPainter commands, so presumably there's something I can do to stop this
> happening.
I've managed to get it to work by writing my own drawTextItem which converts
text to paths and passing that to drawPath. Now all I need to do are custom
line styles and bitmaps.
Now if only QSVGGenerator did clipping properly - how hard can it be? I'll
have to write my own SVG generator at this point.
Jeremy
--
Jeremy Sanders <jeremy at jeremysanders.net>
More information about the Qt-interest-old
mailing list