![]() |
PATH![]() |
![]() ![]() |
When your application calls the function
CMFlattenProfile
, the function
CMUnflattenProfile
, or the PostScript-related functions of type
Color-Matching With PostScript Devices
, the selected CMM--or, for the
CMUnflattenProfile
function, the ColorSync Manager--calls the flatten function you supply to transform profile data. The call passes one of the command constants defined by this enumeration.
Your application provides a pointer to your ColorSync data transfer function as a parameter to the functions. The ColorSync Manager or the CMM calls your data transfer function, passing the command in the
command
parameter. For more information on the flatten function, see
CMFlattenProfile
.
enum {
openReadSpool = 1, /* start read data process */
openWriteSpool = 2, /* start write data process */
readSpool = 3, /* read specified number of bytes */
writeSpool = 4, /* write specified number of bytes */
closeSpool = 5 /* complete data transfer process */
};