12.07.2015 Views

Xlib − C Language X Interface

Xlib − C Language X Interface

Xlib − C Language X Interface

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Xlib</strong> − C LibraryX11, Release 6.7 DRAFTStatus XcmsCIELabQueryMaxC(ccc, hue_angle, L_star, color_return)XcmsCCC ccc;XcmsFloat hue_angle;XcmsFloat L_star;XcmsColor *color_return;ccchue_angleL_starcolor_returnSpecifies the CCC. The CCC’s Client White Point and white point adjustmentprocedures are ignored.Specifies the hue angle (in degrees) at which to find maximum chroma.Specifies the lightness (L*) at which to find maximum chroma.Returns the CIE L*a*b* coordinates of maximum chroma displayable by thescreen for the given hue angle and lightness. The white point associated with thereturned color specification is the Screen White Point. The value returned in thepixel member is undefined.The XcmsCIELabQueryMaxC function, given ahue angle and lightness, finds the point ofmaximum chroma displayable by the screen. It returns this point in CIE L*a*b* coordinates.To obtain the CIE L*a*b* coordinates of maximum CIE metric lightness (L*) for a given PsychometricHue Angle and Psychometric Chroma, use XcmsCIELabQueryMaxL.Status XcmsCIELabQueryMaxL(ccc, hue_angle, chroma, color_return)XcmsCCC ccc;XcmsFloat hue_angle;XcmsFloat chroma;XcmsColor *color_return;ccchue_anglechromacolor_returnSpecifies the CCC. The CCC’s Client White Point and white point adjustmentprocedures are ignored.Specifies the hue angle (in degrees) at which to find maximum lightness.Specifies the chroma at which to find maximum lightness.Returns the CIE L*a*b* coordinates of maximum lightness displayable by thescreen for the given hue angle and chroma. The white point associated with thereturned color specification is the Screen White Point. The value returned in thepixel member is undefined.The XcmsCIELabQueryMaxL function, given ahue angle and chroma, finds the point in CIEL*a*b* color space of maximum lightness (L*) displayable by the screen. It returns this point inCIE L*a*b* coordinates. An XcmsFailure return value usually indicates that the given chromais beyond maximum for the given hue angle.To obtain the CIE L*a*b* coordinates of maximum Psychometric Chroma for a given PsychometricHue Angle, use XcmsCIELabQueryMaxLC.114

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!