XcmsSetWhiteAdjustProc() XcmsSetWhiteAdjustProc()
Name
XcmsSetWhiteAdjustProc - change the white point adjustment procedure in a specified Color Conversion Context.
Synopsis
XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc(ccc, white_adjust_proc,
client_data)
XcmsCCC ccc;
XcmsWhiteAdjustProc white_adjust_proc;
XPointer client_data;
Arguments
ccc Specifies the color conversion context.
client_data
Specifies client data for the white point adjustment procedure or NULL.
white_adjust_proc
Specifies the white point adjustment procedure.
Returns
The previous white point adjust procedure.
Availability
Release 5 and later.
Description
XcmsSetWhiteAdjustProc() sets a new white point adjustment procedure and client data in the specified CCC, and returns the old procedure.
White adustment procedures provided with Xlib and intended for use with XcmsSetWhiteAdjustProc() are:
o XcmsCIELabWhiteShiftColors - Uses the CIELAB color space to shift the chromatic character of colors by the chromatic displacement
between the initial and target white point. No client data is necessary.
o XcmsCIELuvWhiteShiftColors - Uses the CIELUV color space to shift the chromatic character of colors by the chromatic displacement
between the initial and target white point. No client data is necessary.
o XcmsTekHVCWhiteShiftColors - Uses the TekHVC color space to shift the chromatic character of colors by the chromatic displacement
between the initial and target white point. No client data is necessary.
See Also
XcmsCCCOfColormap(), XcmsCreateCCC(), XcmsClientWhitePointOfCCC(), XcmsConvertColors(), XcmsDefaultCCC(), XcmsScreenWhitePointOfCCC(),
XcmsSetCompressionProc(), XcmsSetWhitePoint().
Xlib - Device-independent Color XcmsSetWhiteAdjustProc()