![]() |
PATH![]() |
![]() ![]() |
pascal CMError NCMInit (
ComponentInstance CMSession,
CMProfileRef srcProfile,
CMProfileRef dstProfile);
pascal CMError CMMatchColors(
ComponentInstance CMSession,
ComponentInstance CMSession,
CMColor *myColors,
unsigned long count);
s
pascal CMError CMCheckColors(
ComponentInstance CMSession,
CMColor *myColors,
unsigned long count,
long *result);
pascal CMError CMInit(ComponentInstance CMSession,
CMProfileHandle srcProfile,
CMProfileHandle dstProfile)
pascal CMError CMMValidateProfile (
ComponentInstance CMSession,
CMProfileRef prof,
Boolean *valid);
pascal CMError CMMatchBitmap(
ComponentInstance CMSession,
const CMBitmap *bitmap,
CMBitmapCallBackUPP progressProc,
void *refCon,
CMBitmap *matchedBitmap);
pascal CMError CMCheckBitmap( ComponentInstance CMSession,
const CMBitmap *bitmap,
CMBitmapCallBackUPP progressProc,
void *refCon,
CMBitmap *resultBitmap);
pascal CMError CMConcatInit (
ComponentInstance CMSession,
CMConcatProfileSet *profileSet);
pascal CMError CMMatchPixMap(
ComponentInstance CMSession,
PixMap *myPixMap,
CMBitmapCallBackUPP progressProc,
void *refCon);
pascal CMError CMCheckPixMap(
ComponentInstance CMSession,
const PixMap *myPixMap,
CMBitmapCallBackUPP progressProc,
BitMap *myBitMap, void *refCon);
pascal CMError CMNewLinkProfile (
ComponentInstance CMSession,
CMProfileRef *prof,
const CMProfileLocation *targetLocation,
CMConcatProfileSet *profileSet);
pascal CMError CMConcatenateProfiles (ComponentInstance CMSession,
CMProfileHandle thru,
CMProfileHandle dst,
CMProfileHandle *newDst);
pascal CMError CMMGetPS2ColorSpace (
ComponentInstance CMSession,
CMProfileRef srcProf,
unsigned long flags,
CMFlattenUPP proc,
void *refCon);
pascal CMError CMMGetPS2ColorRenderingIntent (
ComponentInstance CMSession,
CMProfileRef srcProf,
unsigned long flags,
CMFlattenUPP proc,
void *refCon);
pascal CMError CMMGetPS2ColorRendering (
ComponentInstance CMSession,
CMProfileRef srcProf,
CMProfileRef dstProf,
unsigned long flags,
CMFlattenUPP proc, void *refCon);
pascal CMError CMMGetPS2ColorRenderingVMSize (
ComponentInstance CMSession,
CMProfileRef srcProf,
CMProfileRef dstProf,
unsigned long vmSize);
pascal CMError CMMFlattenProfile (
ComponentInstance CMSession,
CMProfileRef prof,
unsigned long flags,
CMFlattenUPP proc,
void *refCon);
pascal CMError CMMUnflattenProfile (
ComponentInstance CMSession,
FSSpec *resultFileSpec,
CMFlattenUPP proc,
void *refCon);
pascal CMError CMMGetNamedColorInfo(
ComponentInstance CMSession,
CMProfileRef srcProf,
unsigned long *deviceChannels,
OSType *deviceColorSpace,
OSType *PCSColorSpace,
unsigned long *count,
StringPtr prefix,
StringPtr suffix);
pascal CMError CMMGetNamedColorValue(
ComponentInstance CMSession,
CMProfileRef prof,
StringPtr name,
CMColor *deviceColor,
CMColor *PCSColor);
pascal CMError CMMGetIndNamedColorValue(
ComponentInstance CMSession,
CMProfileRef prof,
unsigned long index,
CMColor *deviceColor,
CMColor *PCSColor);
pascal CMError CMMGetNamedColorIndex(
ComponentInstance CMSession,
CMProfileRef prof,
StringPtr name,
unsigned long *index);
pascal CMError CMMGetNamedColorName(
ComponentInstance CMSession,
CMProfileRef prof,
unsigned long index,
StringPtr name);
enum {
CMMInterfaceVersion = 1
};
/* request codes (required) */
enum {
kCMMInit = 0,
kCMMMatchColors = 1,
kCMMCheckColors = 2
kNCMMInit = 6,
};
/* request codes (optional) */
enum {
kCMMMatchPixMap = 3,
kCMMCheckPixMap = 4,
kCMMConcatenateProfiles = 5, /* For backward compatibility
with ColorSync 1.0 only. */
kCMMConcatInit = 7,
kCMMValidateProfile = 8,
kCMMMatchBitmap = 9,
kCMMCheckBitmap = 10,
kCMMGetPS2ColorSpace = 11,
kCMMGetPS2ColorRenderingIntent = 12,
kCMMGetPS2ColorRendering = 13,
kCMMFlattenProfile = 14,
kCMMUnflattenProfile = 15,
kCMMNewLinkProfile = 16,
kCMMGetPS2ColorRenderingVMSize = 17,
kCMMGetNamedColorInfo = 70,
kCMMGetNamedColorValue = 71,
kCMMGetIndNamedColorValue = 72,
kCMMGetNamedColorIndex = 73,
kCMMGetNamedColorName = 74
};