XcmsAddFunctionSet() XcmsAddFunctionSet()
Name
XcmsAddFunctionSet - add a Color Characterization function set.
Synopsis
Status XcmsAddFunctionSet(function_set)
XcmsFunctionSet *function_set;
Arguments
function_set Specifies the Color Characterization Function Set to add.
Returns
Zero on failure, non-zero on success.
Availability
Release 5 and later.
Description
XcmsAddFunctionSet() adds a Color Characterization Function Set to the color management system. If the function set contains device-depen-
dent XcmsColorSpace structures not previously available in the color management system, XcmsAddFunctionSet() performs the internal regis-
tration necessary to make them accessible to the client. If an added XcmsColorSpace structure is for a device-dependent color space not
registered with the X Consortium, 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 specifica-
tions in a file using the unregistered color space), then reference should be made by color space prefix (see XcmsFormatOfPrefix() and Xcm-
sPrefixOfFormat()).
Additional function sets should be added before any calls to other Xlib routines are made. If not, the XcmsPerScrnInfo member of a previ-
ously created XcmsCCC will not have been initialized with the added function set.
Note that added XcmsFunctionSet structures must be retained for reference by Xlib.
Structures
Refer to the XcmsFunctionSet reference page.
See Also
XcmsFunctionSet().
Xlib - Device-independent Color XcmsAddFunctionSet()