D2D1_COLOR_INTERPOLATION_MODE enumeration (d2d1_1.h)

Defines how to interpolate between colors.

Syntax

typedef enum D2D1_COLOR_INTERPOLATION_MODE {
  D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT = 0,
  D2D1_COLOR_INTERPOLATION_MODE_PREMULTIPLIED = 1,
  D2D1_COLOR_INTERPOLATION_MODE_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT
Value: 0
Colors are interpolated with straight alpha.
D2D1_COLOR_INTERPOLATION_MODE_PREMULTIPLIED
Value: 1
Colors are interpolated with premultiplied alpha.
D2D1_COLOR_INTERPOLATION_MODE_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1_1.h