XcmsAddFunctionSet()XcmsAddFunctionSet()NameXcmsAddFunctionSet – 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.
DescriptionXcmsAddFunctionSet() adds a Color Characterization Function Set to the
color management system. If the function set contains device-dependent
XcmsColorSpace structures not previously available in the color manage‐
ment system, XcmsAddFunctionSet() performs the internal registration
necessary to make them accessible to the client. If an added XcmsCol‐
orSpace 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 specifications in a file
using the unregistered color space), then reference should be made by
color space prefix (see XcmsFormatOfPrefix() and XcmsPrefixOfFormat()).
Additional function sets should be added before any calls to other Xlib
routines are made. If not, the XcmsPerScrnInfo member of a previously
created XcmsCCC will not have been initialized with the added function
set.
Note that added XcmsFunctionSet structures must be retained for refer‐
ence by Xlib.
Structures
Refer to the XcmsFunctionSet reference page.
See AlsoXcmsFunctionSet().
Xlib - Device-independent Color XcmsAddFunctionSet()