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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for