D2D1_SEPIA_PROP enumeration (d2d1effects_2.h)

Identifiers for properties of the Sepia effect.

Syntax

typedef enum D2D1_SEPIA_PROP {
  D2D1_SEPIA_PROP_INTENSITY = 0,
  D2D1_SEPIA_PROP_ALPHA_MODE = 1,
  D2D1_SEPIA_PROP_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_SEPIA_PROP_INTENSITY
Value: 0
The D2D1_SEPIA_PROP_INTENSITY property is a float value indicating the intensity of the sepia effect. The allowed range is 0.0 to 1.0. The default value is 0.5.
D2D1_SEPIA_PROP_ALPHA_MODE
Value: 1
The D2D1_SEPIA_PROP_ALPHA_MODE property is a D2D1_ALPHA_MODE enumeration value indicating the alpha mode of the input file.
See the About Alpha Modes section of the Supported Pixel Formats and Alpha Modes topic for additional information..
The default value is D2D1_ALPHA_MODE_PREMULTIPLIED.
D2D1_SEPIA_PROP_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects_2.h