XcmsAddColorSpace
Syntax
Status XcmsAddColorSpace(color_space)
XcmsColorSpace *color_space;
Arguments
color_space
| Specifies the device-independent color space to add.
|
Description
The
XcmsAddColorSpace()
function makes a device-independent color space (actually an
XcmsColorSpace
structure) accessible by the color management system.
Because format values for unregistered color spaces are assigned at run time,
they should be treated as private to the client.
If references to an unregistered color space must be made
outside the client (for example, storing color specifications
in a file using the unregistered color space),
then reference should be made by color space prefix
(see
XcmsFormatOfPrefix()
and
XcmsPrefixOfFormat()).
If the
XcmsColorSpace
structure is already accessible in the color management system,
XcmsAddColorSpace()
returns
XcmsSuccess .
Note that added
XcmsColorSpaces
must be retained for reference by Xlib.
See also
"
Adding Device-Independent Color Spaces".
Christophe Tronche, [email protected]