D2D1_COLOR_INTERPOLATION_MODE Enumeration

Defines how to interpolate between colors.

Syntax

typedef enum D2D1_COLOR_INTERPOLATION_MODE {
  D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT       ,
  D2D1_COLOR_INTERPOLATION_MODE_PREMULTIPLIED  ,
  D2D1_COLOR_INTERPOLATION_MODE_FORCE_DWORD
} ;

Constants

D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT Colors are interpolated with straight alpha.
D2D1_COLOR_INTERPOLATION_MODE_PREMULTIPLIED Colors are interpolated with premultiplied alpha.
D2D1_COLOR_INTERPOLATION_MODE_FORCE_DWORD

Requirements

   
Header d2d1_1.h