XcmsCIELabQueryMax(3)
hey bestie π welcome to XcmsCIELabQueryMax(3), aka the XLIB FUNCTIONS page for the CIE L*a*b* query squad. This is where you ask the screen βwhatβs the max chroma / max lightness / min lightness I can actually show for this hue?β and it hands you back CIE L*a*b* coordinates. We're keeping every detail, no cap π
β¨ NAME β¨
XcmsCIELabQueryMaxC, XcmsCIELabQueryMaxL, XcmsCIELabQueryMaxLC, XcmsCIELabQueryMinL β obtain the CIE L*a*b* coordinates π
π οΈ SYNTAX π οΈ
These four all return a Status:
Status XcmsCIELabQueryMaxC(XcmsCCC ccc, XcmsFloat hue_angle, XcmsFloat
L_star, XcmsColor *color_return);
Status XcmsCIELabQueryMaxL(XcmsCCC ccc, XcmsFloat hue_angle, XcmsFloat
chroma, XcmsColor *color_return);
Status XcmsCIELabQueryMaxLC(XcmsCCC ccc, XcmsFloat hue_angle, XcmsColor
*color_return);
Status XcmsCIELabQueryMinL(XcmsCCC ccc, XcmsFloat hue_angle, XcmsFloat
chroma, XcmsColor *color_return);
πΈ ARGUMENTS πΈ
cccβ specifies the CCC. Heads up, bestie: the CCC's Client White Point and White Point Adjustment procedures are ignored. πchromaβ specifies the 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) displayable 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 member is undefined. πhue_angleβ specifies the 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). β
π DESCRIPTION π
XcmsCIELabQueryMaxC is the βgive me max chromaβ one: given a hue angle and lightness, it finds the point of maximum chroma displayable by the screen. It returns this point in CIE L*a*b* coordinates. Iconic. π
XcmsCIELabQueryMaxL is the βgive me max lightnessβ one: given a hue angle and chroma, it finds the point in CIE L*a*b* color space of maximum lightness (L*) displayable by the screen. It returns this point in CIE L*a*b* coordinates. And listen: an XcmsFailure return value usually indicates that the given chroma is beyond maximum for the given hue angle. So if it fails, that chroma was doing too much π
XcmsCIELabQueryMaxLC is the βjust give me the max chroma, periodtβ one: given a hue angle, it finds the point of maximum chroma displayable by the screen. It returns this point in CIE L*a*b* coordinates. Slay. β¨
XcmsCIELabQueryMinL is the βgive me min lightnessβ one: given a hue angle and chroma, it finds the point of minimum lightness (L*) displayable by the screen. It returns this point in CIE L*a*b* coordinates. Same caveat, bestie: an XcmsFailure return value usually indicates that the given chroma is beyond maximum for the given hue angle. π
π SEE ALSO π
XcmsCIELuvQueryMaxC(3)XcmsTekHVCQueryMaxC(3)XcmsQueryBlack(3)Xlib - C Language X Interface
okay bye bestie π«Ά this page is from X Version 11, libX11 1.8.14, and the footerβs date situation is literally βnot listedβ β so no invented date, just facts and vibes πβ¨
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms