| Top |
| GeglColor * | gegl_color_new () |
| GeglColor * | gegl_color_duplicate () |
| void | gegl_color_get_rgba () |
| void | gegl_color_set_rgba () |
| void | gegl_color_set_pixel () |
| void | gegl_color_get_pixel () |
| GParamSpec * | gegl_param_spec_color () |
| GParamSpec * | gegl_param_spec_color_from_string () |
| GeglColor * | gegl_param_spec_color_get_default () |
| const Babl * | gegl_color_get_format () |
GeglColor *
gegl_color_new (const gchar *string);
Creates a new GeglColor.
Returns the newly created GeglColor.
GeglColor *
gegl_color_duplicate (GeglColor *color);
Creates a copy of color
.
void gegl_color_get_rgba (GeglColor *color,gdouble *red,gdouble *green,gdouble *blue,gdouble *alpha);
Retrieves the current set color as linear light non premultipled RGBA data, any of the return pointers can be omitted.
void gegl_color_set_rgba (GeglColor *color,gdouble red,gdouble green,gdouble blue,gdouble alpha);
Set color as linear light non premultipled RGBA data
void gegl_color_set_pixel (GeglColor *color,const Babl *format,const void *pixel);
Set a GeglColor from a pointer to a pixel and it's babl format.
[skip]
void gegl_color_get_pixel (GeglColor *color,const Babl *format,void *pixel);
Store the color in a pixel in the given format.
[skip]
GParamSpec * gegl_param_spec_color (const gchar *name,const gchar *nick,const gchar *blurb,GeglColor *default_color,GParamFlags flags);
Creates a new GParamSpec instance specifying a GeglColor property.
GParamSpec * gegl_param_spec_color_from_string (const gchar *name,const gchar *nick,const gchar *blurb,const gchar *default_color_string,GParamFlags flags);
Creates a new GParamSpec instance specifying a GeglColor property.
GeglColor *
gegl_param_spec_color_get_default (GParamSpec *self);
Get the default color value of the param spec