XcmsQueryRed()XcmsQueryRed()NameXcmsQueryRed – obtain a color specification for screen red.
Synopsis
Status XcmsQueryRed(ccc, target_format, color_return)
XcmsCCC ccc;
XcmsColorFormat target_format;
XcmsColor *color_return;
Arguments
ccc Specifies the color conversion context. Note that the CCC's
Client White Point and White Point Adjustment procedures are
ignored.
target_format
Specifies the target color specification format.
color_return
Returns the color specification in the specified target for‐
mat. The white point associated with the returned color
specification is the Screen White Point. The value returned
in the pixel member is undefined.
Returns
Zero on failure, non-zero on success.
Availability
Release 5 and later.
Description
The XcmsQueryRed() function returns the color specification in the
specified target format for full intensity red and zero intensity green
and blue. The XcmsQueryRed() function returns the color specification
in the format specified by target_format for screen red
(i.e., full intensity red and zero intensity green and blue on the tar‐
get Screen).
Structures
The XcmsColor and XcmsColorFormat structures are shown on the XcmsColor
reference page.
See AlsoXcmsQueryBlack(), XcmsQueryBlue(), XcmsQueryGreen(), XcmsQueryWhite().
Xlib - Device-independent Color XcmsQueryRed()