D2D1_GAUSSIANBLUR_PROP enumeration (d2d1effects.h)

Identifiers for properties of the Gaussian blur effect.

Syntax

typedef enum D2D1_GAUSSIANBLUR_PROP {
  D2D1_GAUSSIANBLUR_PROP_STANDARD_DEVIATION = 0,
  D2D1_GAUSSIANBLUR_PROP_OPTIMIZATION = 1,
  D2D1_GAUSSIANBLUR_PROP_BORDER_MODE = 2,
  D2D1_GAUSSIANBLUR_PROP_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_GAUSSIANBLUR_PROP_STANDARD_DEVIATION
Value: 0
The amount of blur to be applied to the image. You can compute the blur radius of the kernel by multiplying the standard deviation by 3.
The units of both the standard deviation and blur radius are DIPs. A value of zero DIPs disables this effect entirely.


The type is FLOAT.

The default value is 3.0f.
D2D1_GAUSSIANBLUR_PROP_OPTIMIZATION
Value: 1
The optimization mode.


The type is D2D1_GAUSSIANBLUR_OPTIMIZATION.

The default value is D2D1_GAUSSIANBLUR_OPTIMIZATION_BALANCED.
D2D1_GAUSSIANBLUR_PROP_BORDER_MODE
Value: 2
The mode used to calculate the border of the image, soft or hard.


The type is D2D1_GAUSSIANBLUR_OPTIMIZATION.

The default value is D2D1_BORDER_MODE_SOFT.
D2D1_GAUSSIANBLUR_PROP_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects.h