CD2DBrushProperties Class
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at CD2DBrushProperties Class.
A wrapper for D2D1_BRUSH_PROPERTIES.
class CD2DBrushProperties : public D2D1_BRUSH_PROPERTIES;
Public Constructors
| Name | Description |
|---|---|
| CD2DBrushProperties::CD2DBrushProperties | Overloaded. Creates a CD2D_BRUSH_PROPERTIES structure |
Protected Methods
| Name | Description |
|---|---|
| CD2DBrushProperties::CommonInit | Initializes the object |
D2D1_BRUSH_PROPERTIES
Header: afxrendertarget.h
Creates a CD2D_BRUSH_PROPERTIES structure
CD2DBrushProperties();
CD2DBrushProperties(FLOAT _opacity);
CD2DBrushProperties(
D2D1_MATRIX_3X2_F _transform,
FLOAT _opacity = 1.);
Parameters
_opacity
The base opacity of the brush. The default value is 1.0.
_transform
The transformation to apply to the brush
Initializes the object
void CommonInit();
Show: