XcmsFormatOfPrefix() XcmsFormatOfPrefix()
Name
XcmsFormatOfPrefix - obtain the format ID of the color space associated with a specified color string prefix.
Synopsis
XcmsColorFormat XcmsFormatOfPrefix(prefix)
char *prefix;
Arguments
prefix Specifies the string containing the color space prefix.
Returns
The color space format ID.
Availability
Release 5 and later.
Description
XcmsFormatOfPrefix() returns the format ID for the specified color space prefix. For example, XcmsCIEXYZFormat is returned for the prefix
"CIEXYZ". Note that the prefix is case-insensitive. If the color space is not accessible in the color management system, XcmsFormatOfPre-
fix() returns XcmsUndefinedFormat.
Structures
The XcmsColor structure and XcmsColorFormat type are shown on the XcmsColor reference page.
See Also
XcmsPrefixOfFormat().
Xlib - Device-independent Color XcmsFormatOfPrefix()