Carbon


Graphics Device Type Constants

Header: Quickdraw.h

enum {
    picLParen = 0,
    picRParen = 1,
    clutType = 0,
    fixedType = 1,
    directType = 2,
    gdDevType = 0
};

Constant descriptions

picLParen
picRParen
clutType

Represents a CLUT device--that is, one with colors mapped with a color lookup table.

fixedType

Represents a fixed colors device --that is, the color lookup table can't be changed.

directType

Represents a device with direct RGB colors.

gdDevType

If this bit is set to 0, the graphics device is black and white; if it is set to 1, the graphics device supports color.

These constants represent the general type of graphics device for the gdType field of the GDevice structure.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)