19 #ifndef __CMMCOMPONENT__
20 #define __CMMCOMPONENT__
22 #ifndef __CMAPPLICATION__
30 #ifndef __COMPONENTS__
47 #if PRAGMA_STRUCT_ALIGN
48 #pragma options align = mac68k
49 #elif PRAGMA_STRUCT_PACKPUSH
51 #elif PRAGMA_STRUCT_PACK
58 CMMInterfaceVersion = 1
73 kCMMValidateProfile = 8,
76 kCMMConcatenateProfiles = 5,
78 kCMMNewLinkProfile = 16,
80 kNCMMNewLinkProfile = 19,
81 kCMMGetPS2ColorSpace = 11,
82 kCMMGetPS2ColorRenderingIntent = 12,
83 kCMMGetPS2ColorRendering = 13,
84 kCMMGetPS2ColorRenderingVMSize = 17,
87 kCMMFlattenProfile = 14,
88 kCMMUnflattenProfile = 15,
92 kCMMGetNamedColorInfo = 70,
93 kCMMGetNamedColorValue = 71,
94 kCMMGetIndNamedColorValue = 72,
95 kCMMGetNamedColorIndex = 73,
96 kCMMGetNamedColorName = 74,
103 #if TARGET_API_MAC_OS8
105 #if CALL_NOT_IN_CARBON
115 NCMMInit(CMMComponentInst cmm, CMProfileRef srcProfile, CMProfileRef dstProfile);
138 CMMMatchColors(CMMComponentInst cmm,
CMColor *colors, UInt32 count);
149 CMMCheckColors(CMMComponentInst cmm,
CMColor *colors, UInt32 count,
161 CMMValidateProfile(CMMComponentInst cmm, CMProfileRef prof,
Boolean *valid);
172 CMMFlattenProfile(CMMComponentInst cmm, CMProfileRef prof, UInt32 flags,
173 CMFlattenUPP proc,
void *refCon);
184 CMMUnflattenProfile(CMMComponentInst cmm, FSSpec *resultFileSpec,
185 CMFlattenUPP proc,
void *refCon);
196 CMMMatchBitmap(CMMComponentInst cmm,
CMBitmap *bitmap,
197 CMBitmapCallBackUPP progressProc,
void *refCon,
209 CMMCheckBitmap(CMMComponentInst cmm,
const CMBitmap *bitmap,
210 CMBitmapCallBackUPP progressProc,
void *refCon,
222 CMMMatchPixMap(CMMComponentInst cmm,
PixMap *pixMap,
223 CMBitmapCallBackUPP progressProc,
void *refCon);
234 CMMCheckPixMap(CMMComponentInst cmm,
const PixMap *pixMap,
235 CMBitmapCallBackUPP progressProc,
BitMap *bitMap,
void *refCon);
258 CMConcatCallBackUPP proc,
void *refCon);
269 CMMNewLinkProfile(CMMComponentInst cmm, CMProfileRef *prof,
282 NCMMNewLinkProfile(CMMComponentInst cmm, CMProfileRef prof,
295 CMMGetPS2ColorSpace(CMMComponentInst cmm, CMProfileRef srcProf, UInt32 flags,
296 CMFlattenUPP proc,
void *refCon);
307 CMMGetPS2ColorRenderingIntent(CMMComponentInst cmm, CMProfileRef srcProf,
308 UInt32 flags, CMFlattenUPP proc,
void *refCon);
319 CMMGetPS2ColorRendering(CMMComponentInst cmm, CMProfileRef srcProf,
320 CMProfileRef dstProf, UInt32 flags, CMFlattenUPP proc,
332 CMMGetPS2ColorRenderingVMSize(CMMComponentInst cmm, CMProfileRef srcProf,
333 CMProfileRef dstProf, UInt32 *vmSize);
356 CMMGetNamedColorInfo(CMMComponentInst cmm, CMProfileRef srcProf,
357 UInt32 *deviceChannels, OSType *deviceColorSpace,
358 OSType *PCSColorSpace, UInt32 *count,
StringPtr prefix,
370 CMMGetNamedColorValue(CMMComponentInst cmm, CMProfileRef prof,
StringPtr name,
382 CMMGetIndNamedColorValue(CMMComponentInst cmm, CMProfileRef prof, UInt32 index,
394 CMMGetNamedColorIndex(CMMComponentInst cmm, CMProfileRef prof,
StringPtr name,
406 CMMGetNamedColorName(CMMComponentInst cmm, CMProfileRef prof, UInt32 index,
413 #if PRAGMA_STRUCT_ALIGN
414 #pragma options align = reset
415 #elif PRAGMA_STRUCT_PACKPUSH
417 #elif PRAGMA_STRUCT_PACK
421 #ifdef PRAGMA_IMPORT_OFF
Color Matching Interfaces.
Component Manager Interfaces.
unsigned char * StringPtr
Definition: MacTypes.h:477
unsigned char Boolean
Definition: MacTypes.h:318
Interface to Quickdraw Graphics.
Definition: Quickdraw.h:279
Definition: CMApplication.h:554
Definition: CMApplication.h:203
Definition: CMApplication.h:636
Definition: CMICCProfile.h:821
Definition: Components.h:220
Definition: CMApplication.h:218
Definition: Quickdraw.h:2064
Definition: CMApplication.h:330