XcmsCreateCCC(3)
π XcmsCreateCCC(3) π
okay so this is the XLIB FUNCTIONS page for XcmsCreateCCC and XcmsFreeCCC, and it's literally giving "CCC creation and destruction era" β¨ buckle up, bestie.
π NAME π
XcmsCreateCCC, XcmsFreeCCC β creating and destroying CCCs. periodt π
β¨ SYNTAX β¨
here's the exact signature, no cap:
XcmsCCC XcmsCreateCCC(Display *display, int screen_number, Visual
*visual, XcmsColor *client_white_point, XcmsCompressionProc
compression_proc, XPointer compression_client_data,
XcmsWhiteAdjustProc white_adjust_proc, XPointer
white_adjust_client_data);
void XcmsFreeCCC(XcmsCCC ccc);
π«Ά ARGUMENTS π«Ά
displayβ Specifies the connection to the X server. the whole "hello, server" vibe π«cccβ Specifies the CCC. that's the main character right there πclient_white_pointβ Specifies the Client White Point. IfNULLis specified, the Client White Point is to be assumed to be the same as the Screen White Point. Note that thepixelmember is ignored. yes, ignored β leave it alone πcompression_client_dataβ Specifies client data for use by the gamut compression procedure orNULL. optional little sidekick energy πcompression_procβ Specifies the gamut compression procedure that is to be applied when a color lies outside the screen's color gamut. IfNULLis specified and a function using this CCC must convert a color specification to a device-dependent format and encounters a color that lies outside the screen's color gamut, that function will returnXcmsFailure. so likeβ¦ no compression proc means possibleXcmsFailure, and that's the teaaa πscreen_numberβ Specifies the appropriate screen number on the host server. know your screen, bestie π₯visualβ Specifies the visual type. the visual of it all πwhite_adjust_client_dataβ Specifies client data for use with the white point adjustment procedure orNULL. more optional sidekick data, slay π¦white_adjust_procβ Specifies the white adjustment procedure that is to be applied when the Client White Point differs from the Screen White Point.NULLindicates that no white point adjustment is desired. if you don't want the adjustment,NULLis your girl π
π DESCRIPTION π
The XcmsCreateCCC function creates a CCC for the specified display, screen, and visual. it's giving "custom CCC, made for you" β¨
The XcmsFreeCCC function frees the memory used for the specified CCC. Note that default CCCs and those currently associated with colormaps are ignored. so yeah β it's not coming for those, okay? π
π SEE ALSO π
DisplayOfCCC(3)XcmsCCCOfColormap(3)XcmsConvertColors(3)XcmsDefaultCCC(3)XcmsSetWhitePoint(3)Xlib - C Language X Interface
π and that's the whole page, bestie! this cutie comes from X Version 11, libX11 1.8.14, and the page is XcmsCreateCCC(3) β mwah π
π¦ 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