XcmsCIELabQueryMax*() XcmsCIELabQueryMax*()
Name
XcmsCIELabQueryMaxC, XcmsCIELabQueryMaxL, XcmsCIELabQueryMaxLC, XcmsCIELabQueryMinL - obtain the bounds of the target screen's color gamut
in terms of CIE L*a*b* coordinates.
Synopsis
Status XcmsCIELabQueryMaxC(ccc, hue_angle, L_star, color_return)
XcmsCCC ccc;
XcmsFloat hue_angle;
XcmsFloat L_star;
XcmsColor *color_return;
Status XcmsCIELabQueryMaxL(ccc, hue_angle, chroma, color_return)
XcmsCCC ccc;
XcmsFloat hue_angle;
XcmsFloat chroma;
XcmsColor *color_return;
Status XcmsCIELabQueryMaxLC(ccc, hue_angle, color_return)
XcmsCCC ccc;
XcmsFloat hue_angle;
XcmsColor *color_return;
Status XcmsCIELabQueryMinL(ccc, hue_angle, chroma, color_return)
XcmsCCC ccc;
XcmsFloat hue_angle;
XcmsFloat chroma;
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.
chroma Specifies the CIELAB psychometric chroma at which to find maximum lightness (MaxL) or minimum lightness (MinL).
color_return
Returns the CIE L*a*b* coordinates of maximum chroma (MaxC and MaxLC), maximum lightness (MaxL), or minimum lightness (MinL) dis-
playable by the screen for the given hue angle and lightness (MaxC), hue angle and chroma (MaxL and MinL), or hue angle (MaxLC).
The white point associated with the returned color specification is the Screen White Point. The value returned in the pixel mem-
ber is undefined.
hue_angle Specifies the CIELAB psychometric hue angle in degrees at which to find maximum chroma (MaxC and MaxLC), maximum lightness
(MaxL), or minimum lightness (MinL).
L_star Specifies the lightness (L*) at which to find maximum chroma (MaxC).
Returns
Zero on failure, non-zero on success.
Availability
Release 5 and later.
Description
XcmsCIELabQueryMaxC() finds the point of maximum chroma displayable by the screen at the given hue angle and lightness.
XcmsCIELabQueryMaxL() finds the point in CIELAB color space of maximum lightness (L*) displayable by the screen at the given hue angle and
chroma. An XcmsFailure return value usually indicates that the given chroma is beyond maximum for the given hue angle.
XcmsCIELabQueryMaxLC() finds the point of maximum chroma displayable by the screen at the given hue angle.
XcmsCIELabQueryMinL() finds the point of minimum lightness (L*) displayable by the screen at the given hue angle and chroma. An XcmsFail-
ure return value usually indicates that the given chroma is beyond maximum for the given hue angle.
All these functions return a point in CIE L*a*b* color space coordinates.
See Also
XcmsCIELuvQueryMaxC(), XcmsCIELuvQueryMaxL(), XcmsCIELuvQueryMaxLC(), XcmsCIELuvQueryMinL(), XcmsTekHVCQueryMaxC(), XcmsTekHVCQueryMaxL,
XcmsTekHVCQueryMaxLC, XcmsTekHVCQueryMinL, XcmsQueryBlack(), XcmsQueryBlue(), XcmsQueryGreen(), XcmsQueryRed(), XcmsQueryWhite().
Xlib - Device-independent Color XcmsCIELabQueryMax*()