Getting the color of a pixel



How does one get the color of a pixel in a drawing area or a pixmap using
gtk 1.2 on a Linux box?

I'm successfully drawing lines and points in different colors, but I also
need to be able to get the color of a given point that's already been
drawn in another routine.

Thanks,

Bryan


*---------------------------------------------------------------
* Bryan Brown      <*>              bbrown radix net
* http://www.radix.net/~bbrown
*---------------------------------------------------------------




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