A data structure containing a monitor's chromaticity, for use in displaying device-independent color.
x
and y
are the two values needed to specify the chromaticity.
| |
The x-axis component of the monitor's chromaticity. It must be in [0,1).
x + y must be less than or equal to 1. | |
The y-axis component of the monitor's chromaticity. It must be in (0,1].
x + y must be less than or equal 1. | |
|
| |
|
ASBool
PDPrefGetBlackPointCompensation(
void
);
true
if black-point compensation is done. Gets the values to use for displaying the calibrated color and grayscale. These values are the chromaticity and gammas of the phosphors in the monitor.
These values are used for rendering if calibrated color is enabled by the preferences file item avpDoCalibratedColor (see AVAppGetPreference()).
ASBool
PDPrefGetColorCal(
PDColorCalP
colorCal
);
colorCal | IN/OUT (Filled by the method) A pointer to a structure that contains the color calibration information. For RGB devices, the red, green, and blue chromaticity and gammas are used; for grayscale,
whiteChrom and greenGamma are used. You must allocate storage for the colorCal data structure and pass a pointer to the memory you allocated. |
true
. ASInt32
PDPrefGetDefaultBlendingColorSpace(
void
);
ASBool
PDPrefGetInstallPatternParentGState(
void
);
true
, the system overrides the working space with the Output Intent, if it is present. ASBool
PDPrefGetUseOutputIntents(
void
);
void
PDPrefSetBlackPointCompensation(
ASBool
kbpc
);
kbpc |
Sets the values to use for displaying the calibrated color and grayscale. These values are the chromaticities and gammas of the phosphors in the monitor.
These values do not necessarily correspond to the monitor being used; it is the responsibility of the client that sets these values to provide the correct values.
These values are used for rendering if calibrated color is enabled by the preferences file item avpDoCalibratedColor (see AVAppSetPreference()).
ASBool
PDPrefSetColorCal(
PDColorCalP
colorCal
);
colorCal | A pointer to a structure that contains the color calibration information. For RGB devices, the red, green, and blue chromaticities and gammas are used; for grayscale,
whiteChrom and greenGamma are used. |
void
PDPrefSetDefaultBlendingColorSpace(
ASInt32
dBCSIndex
);
dBCSIndex | An index to set blending color space. Pass 1 to set bcs as working RGB. Pass 0 or other value to set bcs as working CMYK.
|
void
PDPrefSetInstallPatternParentGState(
ASBool
bInstallPatternParentGStateFlag
);
bInstallPatternParentGStateFlag | Pass 1 to install GState was in effect at the beginning of the pattern's parent content stream
|
void
PDPrefSetUseOutputIntents(
ASBool
flag
);
flag | When
true , use Output Intent to override a working space if it is present. |
/DeviceCMYK
space. void
PDPrefSetWorkingCMYK(
void
*
profile
,
ASUns32
profileLength
);
profile | A pointer to a buffer containing the ICC color profile.
|
profileLength | The length in bytes of the profile.
|
/DeviceGray
space. When rendering with overprint preview, the gray substitution is suppressed, to avoid converting grayscale to rich black. void
PDPrefSetWorkingGray(
void
*
profile
,
ASUns32
profileLength
);
profile | A pointer to a buffer containing the ICC color profile.
|
profileLength | The length in bytes of the profile.
|
/DeviceRGB
space. void
PDPrefSetWorkingRGB(
void
*
profile
,
ASUns32
profileLength
);
profile | A pointer to a buffer containing the ICC color profile.
|
profileLength | The length in bytes of the profile.
|