MakeITable
MakeITable Generates an inverse table
#include <Quickdraw.h> Color Manager
void MakeITable( colorTab, inverseTab, res );
CTabHandle colorTab ; handle to source color table
ITabHandle inverseTab ; handle to inverse color table
short res; value indicating resolution of inverse table
MakeITable creates an inverse color table from the source table's current
contents.
colorTab is a handle to a ColorTable.
inverseTab is the inverse color table created from the active gDevice's color
table.
res is the inverse table's resolution in res bits per channel.
Returns: none

Notes: MakeITable returns an error through QDError if resolution falls below
3 or exceeds 5. Your application can pass a NIL parameter to CTabHandle or
ITabHandle if you want to exchange the tested parameters for an
appropriate handle from the current gDevice. When you pass 0 for res, you
substitute the gDevice's preferred table resolution. Defaults, explicit
values and NIL parameters can be used freely in any combination.
MakeITable returns an error through QDError if the system can't
obtain enough memory for the inverse color table and memory
requirements in the application heap can be substantial. It takes an amount
twice the size of the table, as well as a fixed overhead of 3 to 15K bytes for
each inverse table each inverse table resolution. Memory allocation is
controlled by an internal system resource, 'mitq' .