XPS_COLOR
Struttura che descrive un singolo valore di colore.
typedef union switch (XPS_COLOR_TYPE colorType) value
{
case XPS_COLOR_TYPE_SRGB:
struct {
byte alpha, red, green, blue;
} sRGB;
case XPS_COLOR_TYPE_SCRGB:
struct {
FLOAT alpha, red, green, blue;
} scRGB;
case XPS_COLOR_TYPE_CONTEXT:
struct {
byte channelCount;
FLOAT channels[9];
} context;
} XPS_COLOR;
Osservazioni
Il formato della struttura dipende dal valore di colorType.
Requisiti
Requisito | Valore |
---|---|
Client minimo supportato |
Windows 7, Windows Vista con SP2 e Aggiornamento della piattaforma per Windows Vista [app desktop | App UWP] |
Server minimo supportato |
Windows Server 2008 R2, Windows Server 2008 con SP2 e Aggiornamento della piattaforma per Windows Server 2008 [app desktop | App UWP] |
Intestazione |
|
IDL |
|