Carbon


CMLabColor

Header: CMApplication.h

struct CMLabColor {
    UInt16 L; 
    UInt16 a; 
    UInt16 b; 
    Ptr sqLink; 
    SInt16 sqType; 
    SInt16 sqPrio; 
    SlotIntServiceUPP sqAddr; 
    SInt32 sqParm; 
    ProcPtr sdBEVSave; 
    ProcPtr sdBusErrProc; 
    ProcPtr sdErrorEntry; 
    SInt32 sdReserved; 
    SCSIHdr *qLink; 
    SInt16 scsiReserved1; 
    UInt16 scsiPBLength; 
    UInt8 scsiFunctionCode; 
    UInt8 scsiReserved2; 
    volatile OSErr scsiResult; 
    DeviceIdent scsiDevice; 
    SCSICallbackUPP scsiCompletion; 
    UInt32 scsiFlags; 
    StringHandle theString; 
    Rect where; 
    TMSearchTypes searchType; 
    TerminalSearchCallBackUPP callBack; 
    SInt16 refnum; 
    TMSearchBlock *next;
};

A color expressed in the L*a*b* color space is composed of L, a, and b component values. The L color component is expressed as a numeric value within the range of 0 to 65535, which maps to 0 to 100 inclusive. Note that this encoding is slightly different from the 0 to 65280 encoding of the L channel defined in the ICC specification for PCS L*a*b values. The a and b components range from 0 to 65535, which maps to –128 to 127.996 inclusive.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)