Carbon


Palette

Header: Palettes.h

struct Palette {
    SInt16 pmEntries; 
    SInt16 pmDataFields[7]; 
    ColorInfo pmInfo[1];
};
typedef Palette PalettePtr;

Field descriptions

pmEntries

The number of ColorInfo structures in the pmInfo array.

pmDataFields

Private fields used by the Palette Manager.

pmInfo

An array of ColorInfo structures.

A palette structure contains a header and a collection of color information structures, one for each color in the palette. The Palette data type defines a palette structure.


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