D2D1_EMBOSS_PROP enumeration

Identifiers for properties of the Emboss effect.

Syntax


typedef enum D2D1_EMBOSS_PROP { 
  D2D1_EMBOSS_PROP_HEIGHT     = 0,
  D2D1_EMBOSS_PROP_DIRECTION  = 1
} D2D1_EMBOSS_PROP;

Constants

D2D1_EMBOSS_PROP_HEIGHT

The D2D1_EMBOSS_PROP_HEIGHT property is a float value controlling the strength of the embossing effect. The allowed range is 0.0 to 10.0. The default value is 1.0.

D2D1_EMBOSS_PROP_DIRECTION

The D2D1_EMBOSS_PROP_DIRECTION property is a float value specifying the light direction used to create the effect. The allowed range is 0.0 to 360.0. The default value is 0.0.

Requirements

Header

D2d1effects_2.h

 

 

Show: