This topic has not yet been rated - Rate this topic

D2D1_COLOR_INTERPOLATION_MODE enumeration

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;

Constants

D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT

Colors are interpolated with straight alpha.

D2D1_COLOR_INTERPOLATION_MODE_PREMULTIPLIED

Colors are interpolated with premultiplied alpha.

Requirements

Header

D2d1_1.h

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.