D2D1_MORPHOLOGY_MODE enumeration (d2d1effects.h)

The mode for the Morphology effect.

Syntax

typedef enum D2D1_MORPHOLOGY_MODE {
  D2D1_MORPHOLOGY_MODE_ERODE = 0,
  D2D1_MORPHOLOGY_MODE_DILATE = 1,
  D2D1_MORPHOLOGY_MODE_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_MORPHOLOGY_MODE_ERODE
Value: 0
The minimum value from each RGB channel in the kernel is used.
D2D1_MORPHOLOGY_MODE_DILATE
Value: 1
The maximum value from each RGB channel in the kernel is used.
D2D1_MORPHOLOGY_MODE_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects.h