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 1 - Palette Manager Reference /
Palette Manager Functions / Manipulating Palette Entries


GetEntryUsage

Returns the usage and tolerance fields of a palette entry.

pascal void GetEntryUsage(
                          PaletteHandle srcPalette,
                          short srcEntry,
                          short *dstUsage,
                          short *dstTolerance); 
srcPalette
A handle to the palette to be accessed.
srcEntry
The palette entry whose usage and tolerance are desired.
dstUsage
The usage value of the palette entry.
dstTolerance
The tolerance value of the palette entry.
DISCUSSION
The GetEntryUsage function takes the usage and tolerance values of the entry specified by the srcEntry parameter and stores them in the dstUsage and dstTolerance parameters. You can modify the entry's usage and tolerance values by using the SetEntryUsage function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996