Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 5 - Color Manager Reference /
Constants and Data Types /


ITab

The ITab data structure contains the inverse table information that the Color Manager uses for fast mapping of RGB color values.

struct ITab {
   long        iTabSeed;   /* copy of color table seed */
   short       iTabRes;    /* resolution of table */
   unsigned chariTTable[1]; /* byte color table index values */
};
typedef struct ITab ITab;
typedef ITab *ITabPtr, **ITabHandle;
Field Description
iTabSeed
The iTabSeed value, initially set from the corresponding CLUT's ctSeed field. If at any time these don't match, then the color table was changed, and the inverse table needs to be rebuilt.
iTabRes
The resolution of this inverse table.
iTabTable
An array of index values. The size of the iTabTable field in bytes is 23*iTabRes.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996