Carbon


CMLuvColor

Header: CMApplication.h

struct CMLuvColor {
    UInt16 L; 
    UInt16 u; 
    UInt16 v; 
    QElem *qLink; 
    SInt16 qType; 
    SInt16 ioTrap; 
    Ptr ioCmdAddr; 
    ATPCompletionUPP ioCompletion; 
    OSErr ioResult; 
    SInt32 userData; 
    SInt16 reqTID; 
    SInt16 ioRefNum; 
    QElem *qLink; 
    SInt16 qType; 
    SInt16 ioTrap; 
    Ptr ioCmdAddr; 
    ATPCompletionUPP ioCompletion; 
    OSErr ioResult; 
    SInt32 userData; 
    SInt16 reqTID; 
    SInt16 ioRefNum; 
    char TPLGEO_SPT; 
    char TPLGEO_TPC; 
    SInt16 TPLGEO_NCYL; 
    UInt16 fCount; 
    UInt8 pad1; 
    OTCfgTCPConfigMethod fConfigMethod; 
    InetHost fIPAddress; 
    InetHost fSubnetMask; 
    Str32 fAppleTalkZone;
};

A color value expressed in the L*u*v* color space is composed of L, u, and v component values. Each color component is expressed as a numeric value within the range of 0 to 65535. For the L component, this maps to 0 to 100 inclusive. For the u and v components, this maps to –128 to 127.996 inclusive.


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