XcmsDefaultCCC()XcmsDefaultCCC()NameXcmsDefaultCCC – get the default Color Conversion Context for a screen.
Synopsis
XcmsCCC XcmsDefaultCCC(display, screen_number)
Display *display;
int screen_number;
Arguments
display Specifies the connection to the X server.
screen_number
Specifies the screen number.
Returns
The Color Conversion Context.
Availability
Release 5 and later.
DescriptionXcmsDefaultCCC() returns the default CCC for the specified screen.
Xcms creates and associates a special CCC to each Screen before any
other CCCs are created. This special per-Screen CCC is called a
default CCC. At creation, per-Screen information like the device color
characterization data (device profile) is obtained (refer to the
ICCCM). Subsequent CCCs created for this Screen will use its device
characterization data. In addition, CCC attributes (e.g., Client White
Point) not explicitly specified in XcmsCreateCCC() default to the val‐
ues in the Screen's default CCC.
See AlsoXcmsCCCOfColormap(), XcmsCreateCCC(), XcmsClientWhitePointOfCCC(), Xcm‐
sConvertColors(), XcmsDisplayOfCCC(), XcmsFreeCCC(), XcmsScreenNum‐
berOfCCC(), XcmsScreenWhitePointOfCCC(), XcmsSetCCCOfColormap(), Xcms‐
SetCompressionProc(), XcmsSetWhiteAdjustProc(), XcmsSetWhitePoint(),
XcmsVisualOfCCC().
Xlib - Device-independent Color XcmsDefaultCCC()