D2D1_HUETORGB_INPUT_COLOR_SPACE enumeration (d2d1effects_2.h)

Values for the D2D1_HUETORGB_PROP_INPUT_COLOR_SPACE property of the Hue to RGB effect.

Syntax

typedef enum D2D1_HUETORGB_INPUT_COLOR_SPACE {
  D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_VALUE = 0,
  D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS = 1,
  D2D1_HUETORGB_INPUT_COLOR_SPACE_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_VALUE
Value: 0
The effect converts from Hue Saturation Value (HSV) to RGB.
D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS
Value: 1
The effect converts from Hue Saturation Lightness (HSL) to RGB.
D2D1_HUETORGB_INPUT_COLOR_SPACE_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects_2.h

See also

Built-in Effects

CreateEffect

Hue to RGB effect