2.2.17 LogPalette Object
The LogPalette object specifies a logical_palette that contains device-independent color definitions.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Version |
NumberOfEntries |
||||||||||||||||||||||||||||||
PaletteEntries (variable) |
|||||||||||||||||||||||||||||||
... |
Version (2 bytes): An unsigned integer that specifies the version number of the system. This value is 0x0300.
NumberOfEntries (2 bytes): An unsigned integer that specifies the number of entries in the PaletteEntries field.
PaletteEntries (variable): An array of LogPaletteEntry objects (section 2.2.18) that defines the color and usage of each entry in the logical_palette.
EMF MUST define colors as device-independent values because the metafile itself is device-independent.