Carbon


CMHLSColor

Header: CMApplication.h

struct CMHLSColor {
    UInt16 hue; 
    UInt16 lightness; 
    UInt16 saturation; 
    TPCCB ccbLink; 
    UInt16 refNum; 
    UInt16 state; 
    UInt8 userFlags; 
    UInt8 localSocket; 
    AddrBlock remoteAddress; 
    UInt16 attnCode; 
    UInt16 attnSize; 
    void *attnPtr; 
    QElem *qLink; 
    SInt16 qType; 
    SInt16 ioTrap; 
    Ptr ioCmdAddr; 
    ATPCompletionUPP ioCompletion; 
    OSErr ioResult; 
    SInt32 userData; 
    SInt16 reqTID; 
    SInt16 ioRefNum; 
    FileBasedDriverRecord fileBasedDriver; 
    Str63 fragName; 
    OSType typeDescriptor; 
    UInt32 reserved; 
    UInt32 entryCount; 
    UInt32 entrySize;
};

A color value expressed in the HLS color space is composed of hue, lightness, and saturation component values. Each color component is expressed as a numeric value within the range of 0 to 65535 inclusive. The hue value represents a fraction of a circle in which red is positioned at 0.


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