XcmsDefaultCCC() XcmsDefaultCCC()
Name
XcmsDefaultCCC - 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.
Description
XcmsDefaultCCC() 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 values in the Screen's default CCC.
See Also
XcmsCCCOfColormap(), XcmsCreateCCC(), XcmsClientWhitePointOfCCC(), XcmsConvertColors(), XcmsDisplayOfCCC(), XcmsFreeCCC(), XcmsScreenNum-
berOfCCC(), XcmsScreenWhitePointOfCCC(), XcmsSetCCCOfColormap(), XcmsSetCompressionProc(), XcmsSetWhiteAdjustProc(), XcmsSetWhitePoint(),
XcmsVisualOfCCC().
Xlib - Device-independent Color XcmsDefaultCCC()