19 #ifndef __CGDIRECTPALETTE__
20 #define __CGDIRECTPALETTE__
22 #ifndef __CGDIRECTDISPLAY__
39 #if PRAGMA_STRUCT_ALIGN
40 #pragma options align = mac68k
41 #elif PRAGMA_STRUCT_PACKPUSH
43 #elif PRAGMA_STRUCT_PACK
47 typedef float CGPaletteBlendFraction;
129 CGTableCount sampleCount);
146 CGTableCount sampleCount);
248 CGDirectPaletteRef palette2);
264 CGPaletteBlendFraction fraction,
267 #if PRAGMA_STRUCT_ALIGN
268 #pragma options align = reset
269 #elif PRAGMA_STRUCT_PACKPUSH
271 #elif PRAGMA_STRUCT_PACK
275 #ifdef PRAGMA_IMPORT_OFF
CoreGraphics direct display.
CGTableCount CGPaletteGetNumberOfSamples(CGDirectPaletteRef palette)
CGDirectPaletteRef CGPaletteCreateDefaultColorPalette(void)
CGDirectPaletteRef CGPaletteCreateWithSamples(CGDeviceColor *sampleTable, CGTableCount sampleCount)
CGDirectPaletteRef CGPaletteCreateFromPaletteBlendedWithColor(CGDirectPaletteRef palette, CGPaletteBlendFraction fraction, CGDeviceColor color)
CGDirectPaletteRef CGPaletteCreateWithByteSamples(CGDeviceByteColor *sampleTable, CGTableCount sampleCount)
CGTableCount CGPaletteGetIndexForColor(CGDirectPaletteRef palette, CGDeviceColor color)
CGDirectPaletteRef CGPaletteCreateWithCapacity(CGTableCount capacity)
Boolean CGPaletteIsEqualToPalette(CGDirectPaletteRef palette1, CGDirectPaletteRef palette2)
CGDeviceColor CGPaletteGetColorAtIndex(CGDirectPaletteRef palette, CGTableCount index)
void CGPaletteRelease(CGDirectPaletteRef palette)
void CGPaletteSetColorAtIndex(CGDirectPaletteRef palette, CGDeviceColor color, CGTableCount index)
CGDirectPaletteRef CGPaletteCreateWithDisplay(CGDirectDisplayID display)
CGDirectPaletteRef CGPaletteCreateCopy(CGDirectPaletteRef palette)
unsigned char Boolean
Definition: MacTypes.h:318
Definition: CGDirectPalette.h:62
Definition: CGDirectPalette.h:55