D2D1_EDGEDETECTION_MODE enumeration (d2d1effects_2.h)

Values for the D2D1_EDGEDETECTION_PROP_MODE property of the Edge Detection effect.

Syntax

typedef enum D2D1_EDGEDETECTION_MODE {
  D2D1_EDGEDETECTION_MODE_SOBEL = 0,
  D2D1_EDGEDETECTION_MODE_PREWITT = 1,
  D2D1_EDGEDETECTION_MODE_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_EDGEDETECTION_MODE_SOBEL
Value: 0
Indicates the Sobel operator should be used for edge detection.
D2D1_EDGEDETECTION_MODE_PREWITT
Value: 1
Indicates the Prewitt operator should be used for edge detection.
D2D1_EDGEDETECTION_MODE_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects_2.h