On Thu, 8 Nov 2001, Daniel Secrieru wrote:
> Anyone knows how to retrieve the clipping box for a GC in X11? All I
> could find in the docs were set-ing functions.
> Thanks,
>
You should know that data, after all, you're the one who set it.
That's why there are no functions to retrieve that or any other GC state.
There is a copy of that info in the library but it's private to the
library. Xlib only keeps that info around so that it doesn't have
to call the X-server every time you change something. It buffers
up state changes and then only flushes them when the GC is next
used for something. Its cache isn't end-user accessible.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert