Defining a Logical Color Table
To change the values in the default logical color table (that is, to load
a new logical color table), use GpiCreateLogColorTable.
Using this function, an application can do the following:
- Replace part or all of the default color table.
- Add color definitions to the default color table.
- Reset the logical color table to its default values.
There are two methods of making changes:
- To add to a table or change some of its contents,
rather than replace the table completely, supply an array of color indexes
and their associated RGB values.
- To load a consecutive sequence of index values, supply
only an array of RGB values without index values.
[Back: Device-Independent Color Indexing]
[Next: Color Tables in Index Mode]