[comp.windows.x] Get Pixel in X

stephenj@deblil.Sun.COM (Stephen Johnson) (12/07/89)

Is there any other way to get a pixel from the screen in X other than
using the XGetPixel Xlib function?  I really don't want to fool around
with the XImage data structure unless absolutely necessary.

Something like XDrawPoint or XDrawPoints but in reverse.

[ Yes, I know its silly to get pixels from the server because of speed
and all but sometimes your stuck...]

Thanks,
Stephen Johnson

Stephen P. Johnson (stephenj@sun.com)      | I could be bounded in a
Sun Microsystems, Inc.                     | nutshell and count myself
2550 Garcia Ave., Mountain View, CA  94043 | a king of infinite space