green channel value in gimpviewrenderer.c

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

 



From curiosity, in this file https://github.com/GNOME/gimp/blob/master/app/widgets/gimpviewrenderer.c, on line 160:

gimp_rgba_set (&green_color, 0.0, 0.94, 0.0, GIMP_OPACITY_OPAQUE);

Why is the green channel value for "&green_color" set to 0.94 rather than 1.0? Does this affect anything during editing? Or is this just a random default value?

The channel values for the other colors in the list are either 0.0 or 1.0.

Also, what are the functions in this file for? Why is the blue channel not used, but rather only the red and green channel?

Best,
Elle
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux