Share via


D2D1_GAMMA_CONVERSION enumeration

Defines the conversion between color spaces.

Syntax

typedef enum  { 
  D2D1_GAMMA_CONVERSION_NONE        = 0,
  D2D1_GAMMA_CONVERSION_2_2_TO_1_0  = 1,
  D2D1_GAMMA_CONVERSION_1_0_TO_2_2  = 2
} D2D1_GAMMA_CONVERSION;

Constants

  • D2D1_GAMMA_CONVERSION_NONE
    No conversion takes place.

  • D2D1_GAMMA_CONVERSION_2_2_TO_1_0
    Colors are converted from a gamma 2.2 to 1.0 color space

  • D2D1_GAMMA_CONVERSION_1_0_TO_2_2
    Colors are converted from a gamma 1.0 to 2.2 color space.

Remarks

Requirements

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]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1.h

See also

ID2D1DeviceContext::CreateGradientStopCollection