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
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel