XcmsQueryGreen()XcmsQueryGreen()NameXcmsQueryGreen – obtain a color specification for screen green.
Synopsis
Status XcmsQueryGreen(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 XcmsQueryGreen() function returns the color specification in the
specified target format for full intensity green and zero intensity red
and blue. The XcmsQueryGreen() function returns the color specifica‐
tion in the format specified by target_format for screen green (i.e.,
full intensity green and zero intensity red and blue on the target
Screen).
Structures
The XcmsColor and XcmsColorFormat structures are shown on the XcmsColor
reference page.
See AlsoXcmsQueryBlack(), XcmsQueryBlue(), XcmsQueryRed(), XcmsQueryWhite().
Xlib - Device-independent Color XcmsQueryGreen()