![]() |
![]() |
![]() |
libccc Reference Manual | ![]() |
---|---|---|---|---|
CcColor; CcColorClass; CcColor* cc_color_new_hsv (gdouble hue, gdouble saturation, gdouble value); CcColor* cc_color_new_hsva (gdouble hue, gdouble saturation, gdouble value, gdouble alpha); CcColor* cc_color_new_rgb (gdouble red, gdouble green, gdouble blue); CcColor* cc_color_new_rgba (gdouble red, gdouble green, gdouble blue, gdouble alpha); void cc_color_apply (CcColor *self, cairo_t *cr);
typedef struct { GInitiallyUnownedClass base_class; /* vtable */ void (*apply) (CcColor const* self, cairo_t * cr); } CcColorClass;
CcColor* cc_color_new_hsv (gdouble hue, gdouble saturation, gdouble value);
hue : |
|
saturation : |
|
value : |
|
Returns : |
CcColor* cc_color_new_hsva (gdouble hue, gdouble saturation, gdouble value, gdouble alpha);
hue : |
|
saturation : |
|
value : |
|
alpha : |
|
Returns : |
CcColor* cc_color_new_rgb (gdouble red, gdouble green, gdouble blue);
red : |
|
green : |
|
blue : |
|
Returns : |
CcColor* cc_color_new_rgba (gdouble red, gdouble green, gdouble blue, gdouble alpha);
red : |
|
green : |
|
blue : |
|
alpha : |
|
Returns : |