Re: [gtk-list] Re: Image in a drawing area to .xpm



Thus spoke Havoc Pennington
> The X server just throws away the obscured parts - that's why you have to
> refresh the drawing area when you get expose events. So there's no way to
> get those pixels since they aren't stored.

Isn't that whay overlay planes are for?  Xi supports them already, and I've
been told XFree and Metro are working on it (don't know about the
workstation vendors, but suspect SGI already supports it).  However, apps
have to specifically make use of it.  To my knowledge, very few on Linux
do.  

Anyone know if Gtk is likely to support overlay planes in the future?

> If you're keeping a backing pixmap, you could use that though.

I think you can also turn on backing store for the server, but that may not
actually solve the original posters problem.
-- 
Michael J. Hammel           |
The Graphics Muse           | Tell me what you need, and I'll tell you how to
mjhammel@graphics-muse.org  | get along without it. -- Dilbert
http://www.graphics-muse.org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]