D2D1_EDGEDETECTION_MODE enumeration

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;

Constants

D2D1_EDGEDETECTION_MODE_SOBEL

Indicates the Sobel operator should be used for edge detection.

D2D1_EDGEDETECTION_MODE_PREWITT

Indicates the Prewitt operator should be used for edge detection.

Requirements

Header

D2d1effects_2.h

 

 

Show: