XcmsParseStringProc() XcmsParseStringProc()
Name
XcmsParseStringProc - interface definition for color string parsing procedure.
Synopsis
typedef int (*XcmsParseStringProc)(color_string, color_return)
char *color_string;
XcmsColor *color_return;
Arguments
color_string Specifies the color string to parse.
color_return Returns the color specification in the color space's encoding.
Returns
Zero on failure, non-zero on success.
Availability
Release 5 and later.
Description
XcmsParseStringProc is the type for a function whose pointer is placed in the parseString field of an XcmsColorSpace structure. This func-
tion parses a color string into an XcmsColor structure, returning non-zero if it succeeded and zero otherwise.
See Also
XcmsColorSpace.
Xlib - Device-independent Color XcmsParseStringProc()