| Herd Software Development
|=
DaVinci Graphics Library
|==
DaVinci Documentation Home Search Order


Leonardo: The RGBQUAD16 structure

The RGBQUAD16 structure defines a color in terms of relative intensities of red, green and blue respectively with 16 bit precision for each of the three elements.

typedef struct 
{
WORD	rgb16Blue;
WORD	rgb16Green;
WORD	rgb16Red;
WORD	rgb16Reserved;
} RGBQUAD16, FAR *LPRGBQUAD16;

The structure RGBQUAD16 consists of the following members:

Field Description

rgb16Blue Intensity of the blue hue in the color. A value of 65535 corresponds to 100%; a value of 0 corresponds to 0%.

rgb16Green Intensity of the green hue in the color. A value of 65535 corresponds to 100%; a value of 0 corresponds to 0%.

rgb16Red Intensity of the red hue in the color. A value of 65535 corresponds to 100%; a value of 0 corresponds to 0%.

rgb16Reserved Currently unused; must be defined as 0.