MetaSetPaletteEntries


This metafile command sets entries of a logical color palette.

class MetaSetPaletteEntries : public Meta
{
 public:
  unsigned Palette;
  unsigned Start;
  unsigned Entries;
  PaletteEntry Array[1];

  PaletteEntry& operator()(unsigned Index);
};

Members

Palette The index of the palette whose size is being adjusted.
Start The index of the first entry to be adjusted.
Entries The number of entries to be adjusted.
Array An array of palette entries to be set into the logical color palette.

Notes

See related C function SetPaletteEntries.