Share via


Struttura RGBQUAD (wingdi.h)

La struttura RGBQUAD descrive un colore costituito da intensità relative di rosso, verde e blu.

Sintassi

typedef struct tagRGBQUAD {
  BYTE rgbBlue;
  BYTE rgbGreen;
  BYTE rgbRed;
  BYTE rgbReserved;
} RGBQUAD;

Members

rgbBlue

Intensità di blu nel colore.

rgbGreen

Intensità del verde nel colore.

rgbRed

Intensità del rosso nel colore.

rgbReserved

Questo membro è riservato e deve essere zero.

Commenti

Il membro bmiColors della struttura BITMAPINFO è costituito da una matrice di strutture RGBQUAD .

Requisiti

Requisito Valore
Client minimo supportato Windows 2000 Professional [solo app desktop]
Server minimo supportato Windows 2000 Server [solo app desktop]
Intestazione wingdi.h (include Windows.h)

Vedi anche

BITMAPINFO

Strutture bitmap

Panoramica delle bitmap

CreateDIBSection

CreateDIBitmap

GetDIBits

SetDIBits

SetDIBitsToDevice

StretchDIBits