D2D1_BRIGHTNESS_PROP enumeration (d2d1effects.h)

Identifiers for the properties of the Brightness effect.

Syntax

typedef enum D2D1_BRIGHTNESS_PROP {
  D2D1_BRIGHTNESS_PROP_WHITE_POINT = 0,
  D2D1_BRIGHTNESS_PROP_BLACK_POINT = 1,
  D2D1_BRIGHTNESS_PROP_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_BRIGHTNESS_PROP_WHITE_POINT
Value: 0
The upper portion of the brightness transfer curve. The white point adjusts the appearance of the brighter portions of the image.
This property is for both the x value and the y value, in that order. Each of the values of this property are between 0 and 1, inclusive.


The type is D2D1_VECTOR_2F.

The default value is (1.0f, 1.0f).
D2D1_BRIGHTNESS_PROP_BLACK_POINT
Value: 1
The lower portion of the brightness transfer curve. The black point adjusts the appearance of the darker portions of the image.
This property is for both the x value and the y value, in that order. Each of the values of this property are between 0 and 1, inclusive.


The type is D2D1_VECTOR_2F.

The default value is (0.0f, 0.0f).
D2D1_BRIGHTNESS_PROP_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects.h