XPS _ COLOR
Eine -Struktur, die einen einzelnen Farbwert beschreibt.
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;
Bemerkungen
Das Format der Struktur hängt vom Wert von colorType ab.
Requirements (Anforderungen)
| Anforderung | Wert |
|---|---|
| Unterstützte Mindestversion (Client) |
Windows 7, Windows Vista mit SP2 und Plattformupdate für UWP-Apps für Windows [ | Vista-Desktop-Apps] |
| Unterstützte Mindestversion (Server) |
Windows Server 2008 R2, Windows Server 2008 mit SP2 und Plattformupdate für Windows Server [ 2008-Desktop-Apps | UWP-Apps] |
| Header |
|
| IDL |
|