CD2DBrushProperties Class

 

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

NameDescription
CD2DBrushProperties::CD2DBrushPropertiesOverloaded. Creates a CD2D_BRUSH_PROPERTIES structure

Protected Methods

NameDescription
CD2DBrushProperties::CommonInitInitializes the object

D2D1_BRUSH_PROPERTIES

CD2DBrushProperties

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();

Classes

Show: