X Version 11 (Release 6.1)

XcmsQueryBlack(X3xlib)


XcmsQueryBlack -- obtain black, blue, green, red, and white CCC color specifications

Synopsis

   Status XcmsQueryBlack(ccc, target_format, color_return)
         XcmsCCC ccc;
         XcmsColorFormat target_format;
         XcmsColor *color_return;
   

Status XcmsQueryBlue(ccc, target_format, color_return) XcmsCCC ccc; XcmsColorFormat target_format; XcmsColor *color_return;

Status XcmsQueryGreen(ccc, target_format, color_return) XcmsCCC ccc; XcmsColorFormat target_format; XcmsColor *color_return;

Status XcmsQueryRed(ccc, target_format, color_return) XcmsCCC ccc; XcmsColorFormat target_format; XcmsColor *color_return;

Status XcmsQueryWhite(ccc, target_format, color_return) XcmsCCC ccc; XcmsColorFormat target_format; XcmsColor *color_return;

Arguments


ccc
Specifies the CCC. Note that the CCC's Client White Point and White Point Adjustment procedures are ignored.

color_return
Returns the color specification in the specified target format for the screen. The white point associated with the returned color specification is the Screen White Point. The value returned in the pixel member is undefined.

target_format
Specifies the target color specification format.

Description

The XcmsQueryBlack function returns the color specification in the specified target format for zero-intensity red, green, and blue.

The XcmsQueryBlue function returns the color specification in the specified target format for full-intensity blue while red and green are zero.

The XcmsQueryGreen function returns the color specification in the specified target format for full-intensity green while red and blue are zero.

The XcmsQueryRed function returns the color specification in the specified target format for full-intensity red while green and blue are zero.

The XcmsQueryWhite function returns the color specification in the specified target format for full-intensity red, green, and blue.

References

XcmsCIELabQueryMaxC(X3xlib), XcmsCIELuvQueryMaxC(X3xlib), XcmsTekHVCQueryMaxC(X3xlib)

Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004