On Tue, 29 Aug 2000 [EMAIL PROTECTED] wrote:

>       
>       How to determine the value of the pixel given the RGB values ?

 You have to allocate color with given RGB values and then use 'pixel' member.
 I.e. 
        GdkColor color;
        color->red = 23; .../*for all members*/
        if (!gdk_color_alloc(somecolormap,&color)) {
                /*do something since allocation failed*/
        };
> 
> _______________________________________________
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 

 Best regards,
  -Vlad


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to