D2D1_EMBOSS_PROP enumeration (d2d1effects_2.h)

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_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_EMBOSS_PROP_HEIGHT
Value: 0
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
Value: 1
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.
D2D1_EMBOSS_PROP_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects_2.h