| GNOME Color Manager Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
GcmColorRGBint; GcmColorLab; GcmColorYxy; GcmColorXYZ; GcmColorRGB; #define GCM_TYPE_COLOR_RGB #define GCM_TYPE_COLOR_XYZ #define GCM_TYPE_COLOR_YXY GType gcm_color_get_type_XYZ (void); GType gcm_color_get_type_RGB (void); GType gcm_color_get_type_Yxy (void); #define gcm_color_new_XYZ #define gcm_color_new_RGB #define gcm_color_new_Yxy #define gcm_color_free_XYZ #define gcm_color_free_RGB #define gcm_color_free_Yxy GcmColorXYZ * gcm_color_dup_XYZ (const GcmColorXYZ *src); GcmColorRGB * gcm_color_dup_RGB (const GcmColorRGB *src); GcmColorYxy * gcm_color_dup_Yxy (const GcmColorYxy *src); void gcm_color_set_XYZ (GcmColorXYZ *dest,gdouble X,gdouble Y,gdouble Z); void gcm_color_set_RGB (GcmColorRGB *dest,gdouble R,gdouble G,gdouble B); void gcm_color_set_Yxy (GcmColorYxy *dest,gdouble Y,gdouble x,gdouble y); void gcm_color_copy_XYZ (const GcmColorXYZ *src,GcmColorXYZ *dest); void gcm_color_copy_Yxy (const GcmColorYxy *src,GcmColorYxy *dest); void gcm_color_clear_XYZ (GcmColorXYZ *dest); void gcm_color_copy_RGB (const GcmColorRGB *src,GcmColorRGB *dest); void gcm_color_convert_RGBint_to_RGB (const GcmColorRGBint *src,GcmColorRGB *dest); void gcm_color_convert_RGB_to_RGBint (const GcmColorRGB *src,GcmColorRGBint *dest); void gcm_color_convert_Yxy_to_XYZ (const GcmColorYxy *src,GcmColorXYZ *dest); void gcm_color_convert_XYZ_to_Yxy (const GcmColorXYZ *src,GcmColorYxy *dest); GcmVec3 * gcm_color_get_XYZ_Vec3 (GcmColorXYZ *src); GcmVec3 * gcm_color_get_RGB_Vec3 (GcmColorRGB *src);
void gcm_color_set_XYZ (GcmColorXYZ *dest,gdouble X,gdouble Y,gdouble Z);
Initialises a color value.
|
the destination color |
|
component value |
|
component value |
|
component value |
Since 2.91.1
void gcm_color_set_RGB (GcmColorRGB *dest,gdouble R,gdouble G,gdouble B);
Initialises a color value.
|
the destination color |
|
component value |
|
component value |
|
component value |
Since 2.91.1
void gcm_color_set_Yxy (GcmColorYxy *dest,gdouble Y,gdouble x,gdouble y);
Initialises a color value.
|
the destination color |
|
component value |
|
component value |
|
component value |
Since 2.91.1
void gcm_color_copy_XYZ (const GcmColorXYZ *src,GcmColorXYZ *dest);
Deep copies a color value.
|
the source color |
|
the destination color |
Since 2.91.1
void gcm_color_copy_Yxy (const GcmColorYxy *src,GcmColorYxy *dest);
Deep copies a color value.
|
the source color |
|
the destination color |
Since 2.91.1
void gcm_color_clear_XYZ (GcmColorXYZ *dest);
Initialises a color value.
|
the destination color |
Since 2.91.1
void gcm_color_copy_RGB (const GcmColorRGB *src,GcmColorRGB *dest);
Deep copies a color value.
|
the source color |
|
the destination color |
Since 2.91.1
void gcm_color_convert_RGBint_to_RGB (const GcmColorRGBint *src,GcmColorRGB *dest);
Convert from one color format to another.
|
the source color |
|
the destination color |
Since 2.91.1
void gcm_color_convert_RGB_to_RGBint (const GcmColorRGB *src,GcmColorRGBint *dest);
Convert from one color format to another.
|
the source color |
|
the destination color |
Since 2.91.1
void gcm_color_convert_Yxy_to_XYZ (const GcmColorYxy *src,GcmColorXYZ *dest);
Convert from one color format to another.
|
the source color |
|
the destination color |
Since 2.91.1
void gcm_color_convert_XYZ_to_Yxy (const GcmColorXYZ *src,GcmColorYxy *dest);
Convert from one color format to another.
|
the source color |
|
the destination color |
Since 2.91.1
GcmVec3 * gcm_color_get_XYZ_Vec3 (GcmColorXYZ *src);
Returns the color as a vector component
|
the source color |
Returns : |
the vector. |
Since 2.91.1
GcmVec3 * gcm_color_get_RGB_Vec3 (GcmColorRGB *src);
Returns the color as a vector component
|
the source color |
Returns : |
the vector. |
Since 2.91.1