D2D1_MORPHOLOGY_PROP enumeration

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;

Constants

D2D1_MORPHOLOGY_PROP_MODE

The morphology mode.

The type is D2D1_MORPHOLOGY_MODE.

The default value is D2D1_MORPHOLOGY_MODE_ERODE.

D2D1_MORPHOLOGY_PROP_WIDTH

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

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.

Requirements

Header

D2d1effects.h

 

 

Show: