D2D1_MORPHOLOGY_PROP enumeration (d2d1effects.h)

Identifiers for properties of the Morphology effect.

Syntax

typedef enum D2D1_MORPHOLOGY_PROP {
  D2D1_MORPHOLOGY_PROP_MODE = 0,
  D2D1_MORPHOLOGY_PROP_WIDTH = 1,
  D2D1_MORPHOLOGY_PROP_HEIGHT = 2,
  D2D1_MORPHOLOGY_PROP_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_MORPHOLOGY_PROP_MODE
Value: 0
The morphology mode.


The type is D2D1_MORPHOLOGY_MODE.

The default value is D2D1_MORPHOLOGY_MODE_ERODE.
D2D1_MORPHOLOGY_PROP_WIDTH
Value: 1
Size of the kernel in the X direction. The units are in DIPs. Values must be between 1 and 100 inclusive.


The type is UINT.

The default value is 1.
D2D1_MORPHOLOGY_PROP_HEIGHT
Value: 2
Size of the kernel in the Y direction. The units are in DIPs. Values must be between 1 and 100 inclusive.


The type is UINT.

The default value is 1.
D2D1_MORPHOLOGY_PROP_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects.h