D2D1_COLOR_SPACE enumeration (d2d1_1.h)

Defines options that should be applied to the color space.

Syntax

typedef enum D2D1_COLOR_SPACE {
  D2D1_COLOR_SPACE_CUSTOM = 0,
  D2D1_COLOR_SPACE_SRGB = 1,
  D2D1_COLOR_SPACE_SCRGB = 2,
  D2D1_COLOR_SPACE_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_COLOR_SPACE_CUSTOM
Value: 0
The color space is otherwise described, such as with a color profile.
D2D1_COLOR_SPACE_SRGB
Value: 1
The color space is sRGB.
D2D1_COLOR_SPACE_SCRGB
Value: 2
The color space is scRGB.
D2D1_COLOR_SPACE_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Header d2d1_1.h