Carbon


CMGrayColor

Header: CMApplication.h

struct CMGrayColor {
    UInt16 gray; 
    UInt8 abort; 
    UInt8 filler3; 
    ataPBHeader *ataPBLink; 
    UInt16 ataPBQType; 
    UInt8 ataPBVers; 
    UInt8 ataPBReserved; 
    Ptr ataPBReserved2; 
    ATACallbackUPP ataPBCallbackPtr; 
    OSErr ataPBResult; 
    UInt8 ataPBFunctionCode; 
    UInt8 ataPBIOSpeed; 
    DriverRefNum refNum; 
    RegEntryID deviceEntry; 
    MenuItemIndex previousItem; 
    MenuItemIndex newItem;
};

A color value expressed in the Gray color space is composed of a single component, gray, represented as a numeric value within the range of 0 to 65535 inclusive.


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