D2D1ConvertColorSpace-Funktion (d2d1_1.h)

Konvertiert die angegebene Farbe von einem Farbraum in einen anderen.

Syntax

D2D1_COLOR_F D2D1ConvertColorSpace(
       D2D1_COLOR_SPACE   sourceColorSpace,
       D2D1_COLOR_SPACE   destinationColorSpace,
  [in] const D2D1_COLOR_F *color
);

Parameter

sourceColorSpace

Typ: D2D1_COLOR_SPACE

Der Quellfarbraum.

destinationColorSpace

Typ: D2D1_COLOR_SPACE

Der Zielfarbraum.

[in] color

Typ: const D2D1_COLOR_F*

Die Quellfarbe.

Rückgabewert

Typ: D2D1_COLOR_F

Die konvertierte Farbe.

Anforderungen

Anforderung Wert
Zielplattform Windows
Kopfzeile d2d1_1.h
Bibliothek D2D1.lib
DLL D2D1.dll