Share via


ConvertColorSpace-Funktion (d2d1_1helper.h)

Konvertieren sie eine D2D1_COLOR_F von einem Farbraum in einen anderen.

Syntax

D2D1_COLOR_F ConvertColorSpace(
        D2D1_COLOR_SPACE     sourceColorSpace,
        D2D1_COLOR_SPACE     destinationColorSpace,
  [ref] const D2D1_COLOR_F & color
);

Parameter

sourceColorSpace

Typ: D2D1_COLOR_SPACE

Der Farbraum der Eingabe.

destinationColorSpace

Typ: D2D1_COLOR_SPACE

Der gewünschte Farbraum der Ausgabe.

[ref] color

Typ: const D2D1_COLOR_F

Die Eingabefarbe.

Rückgabewert

Typ: D2D1_COLOR_F

Die konvertierte Farbe im neuen Farbraum.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 7, Windows Vista mit SP2 und Plattformupdate für Windows Vista [Desktop-Apps | UWP-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]
Zielplattform Windows
Kopfzeile d2d1_1helper.h
Bibliothek D2d1.lib
DLL D2d1.dll