Previous: Text-Style constants To the Table of Content Next: PointType

- 4.37.1.16 -
Standard Units
Graph Unit
Graph Unit Types, Constants and Variables

PaletteType

Targets: MS-DOS, Win32


Graph Unit

The record that defines the size and colors of the palette; used by GetPalette, GetDefaultPalette, and SetPalette.

Declaration:
PaletteType = record
   Size    : Byte;
   Colors  : array [0..MaxColors] of DWORD;
end;
The size field reports the number of colors in the palette for the current driver in the current mode. Colors contains the actual colors 0..Size - 1.


Previous: Text-Style constants To the Table of Content Next: PointType
Text-Style constants Table of Content PointType

- 4.37.1.16 -