At 3:20 PM -0800 4/12/99, Bob Ebert wrote:
>There's currently no API to do this, so you need to get the window's base
>address out of the data structures and do the math to find and mask out the
>pixel yourself. (If you do this, I'd recommend you use the displayAddrV20
>field in thw WindowType struct rather than try to look inside the
>GDevicePtr, and pay attention to the bits per pixel of the screen. If you
>do, you'll stand a better chance of being compatible with future OS
>releases.)
I should clarify that what I described is unsupported. That is, it's a
hack, and not guaranteed to work in the future. Officially, there is no
way to get a screen pixel's value.
I was merely trying to describe the hack that, in my personal opinion, is
least likely to fail in the future.
--Bob