From: Guillaume L. <gla...@te...> - 2005-11-27 15:13:46
|
On Sunday 27 November 2005 11:15, Chris Cannam wrote: > G: > > Hold on a sec. Both QPixmap and QImage take int- > > based sizes (i.e. 32 bits), and looking in Xlib.h, I have > > > > typedef struct _XImage { > > int width, height; /* size of image */ > > The limitation is in the X drawable (pixmap or window), not the Qt API or > XImage. It occurred to me that even if the pixmap itself exceeds this limit, we obviously never draw it entirely, it's always clipped to the refreshed bit (even though this is probably not properly enforced in the current code). In any case, it's certainly at least possible to bitBlt the relevant part of the preview pixmap to another pixmap and draw that, even if directly drawing only the relevant bit doesn't work. -- Guillaume. http://www.telegraph-road.org |