Carbon


CMHSVColor

Header: CMApplication.h

struct CMHSVColor {
    UInt16 hue; 
    UInt16 saturation; 
    UInt16 value; 
    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; 
    XPPCompletionUPP ioCompletion; 
    OSErr ioResult; 
    SInt32 cmdResult; 
    SInt16 ioVRefNum; 
    SInt16 ioRefNum; 
    SInt16 version; 
    TMTermTypes termType; 
    SInt16 textRows; 
    SInt16 textCols; 
    Point cellSize; 
    Rect graphicSize; 
    Point slop; 
    Rect auxSpace; 
    UInt32 connectionStatus; 
    UInt32 connectionTimeElapsed; 
    UInt32 connectionTimeRemaining; 
    UInt32 bytesTransmitted; 
    UInt32 bytesReceived; 
    UInt32 reserved;
};

A color value expressed in the HSV color space is composed of hue, saturation, and value 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)