[poppler] [PATCH] qt-bindings renderToImage

Wilfried Huss Wilfried.Huss at gmx.at
Tue Jan 3 11:39:01 PST 2006


Am Sunday, 1. January 2006 17:18 schrieb Albert Astals Cid:
> A Diumenge 01 Gener 2006 13:43, Wilfried Huss va escriure:
> > Hi,
> Hi
> 
> > I'm currently working on multithreading support for KViewShell. And since
> > Qt does not allow the use of QPixmaps outside of the GUI-thread I need a
> > little change to the poppler qt bindings.
> Well, AFAIK is a X server limitation and not a Qt one, but i know what you 
> mean ;-)
> 
> > Attached is a patch that adds a renderToImage() function that returns a
> > QImage. The patch leaves the renderToPixmaps() functions intact (I don't
> > know if you already keep backwards compability), but they are redundant.
> Could you send the patch for Qt4 bindings also?
> 
> Another thing is the docu seems a bit strange, i mean "It uses the "Splash" 
> rendering engine that is included in the Poppler distribution."? I'd reduce 
> it only to "It uses the "Splash" rendering engine" or "It uses the "Splash" 
> renderer", the poppler part is already obvious since it's the poppler 
> documentation ;-)

Attached are a revised patch for the qt bindings, and an aquivalent patch
for the qt4 bindings.

Greetings,
Wilfried.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: renderToImage-qt.patch
Type: text/x-diff
Size: 3053 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20060103/e2615f3a/renderToImage-qt-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: renderToImage-qt4.patch
Type: text/x-diff
Size: 3552 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20060103/e2615f3a/renderToImage-qt4-0001.bin


More information about the poppler mailing list