2.2.5.2.2.1 Palette Entry (PALETTEENTRY)
The PALETTEENTRY structure contains a single palette entry that specifies the red, green, and blue components for a given color index, in addition to any application-specific information related to the entry.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
red |
green |
blue |
extra |
red (1 byte): An unsigned, 8-bit red color component.
green (1 byte): An unsigned, 8-bit green color component.
blue (1 byte): An unsigned, 8-bit blue color component.
extra (1 byte): This field MAY be used to convey application-specific palette information. Some applications use this field to specify how the palette entry is used.