![]() |
![]() |
![]() |
GNOME Color Manager Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
GcmColorRGBint; GcmColorLab; GcmColorYxy; GcmColorXYZ; GcmColorRGB; void gcm_color_init_XYZ (GcmColorXYZ *dest
,gdouble X
,gdouble Y
,gdouble Z
); void gcm_color_init_RGB (GcmColorRGB *dest
,gdouble R
,gdouble G
,gdouble B
); void gcm_color_copy_XYZ (const GcmColorXYZ *src
,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_init_XYZ (GcmColorXYZ *dest
,gdouble X
,gdouble Y
,gdouble Z
);
Initialises a color value.
|
the destination color |
|
component value |
|
component value |
|
component value |
void gcm_color_init_RGB (GcmColorRGB *dest
,gdouble R
,gdouble G
,gdouble B
);
Initialises a color value.
|
the destination color |
|
component value |
|
component value |
|
component value |
void gcm_color_copy_XYZ (const GcmColorXYZ *src
,GcmColorXYZ *dest
);
Deep copies a color value.
|
the source color |
|
the destination color |
void gcm_color_copy_RGB (const GcmColorRGB *src
,GcmColorRGB *dest
);
Deep copies a color value.
|
the source color |
|
the destination color |
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 |
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 |
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 |
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 |
GcmVec3 * gcm_color_get_XYZ_Vec3 (GcmColorXYZ *src
);
Returns the color as a vector component
|
the source color |
Returns : |
the vector. |
GcmVec3 * gcm_color_get_RGB_Vec3 (GcmColorRGB *src
);
Returns the color as a vector component
|
the source color |
Returns : |
the vector. |