Synopsis
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);
Object Hierarchy
GObject
+----GInitiallyUnowned
+----CcColor
Properties
"alpha" gdouble : Read / Write / Construct
Details
CcColor
typedef struct _CcColor CcColor;
CcColorClass
typedef struct {
GInitiallyUnownedClass base_class;
/* vtable */
void (*apply) (CcColor const* self,
cairo_t * cr);
} CcColorClass;
cc_color_new_hsv ()
CcColor* cc_color_new_hsv (gdouble hue,
gdouble saturation,
gdouble value);
hue : |
|
saturation : |
|
value : |
|
Returns : |
|
cc_color_new_hsva ()
CcColor* cc_color_new_hsva (gdouble hue,
gdouble saturation,
gdouble value,
gdouble alpha);
hue : |
|
saturation : |
|
value : |
|
alpha : |
|
Returns : |
|
cc_color_new_rgb ()
CcColor* cc_color_new_rgb (gdouble red,
gdouble green,
gdouble blue);
red : |
|
green : |
|
blue : |
|
Returns : |
|
cc_color_new_rgba ()
CcColor* cc_color_new_rgba (gdouble red,
gdouble green,
gdouble blue,
gdouble alpha);
red : |
|
green : |
|
blue : |
|
alpha : |
|
Returns : |
|
Properties
The "alpha
" property
"alpha" gdouble : Read / Write / Construct
Alpha.
Allowed values: [0,1]
Default value: 1