Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 1.66 KB

cd2dbrushproperties-class.md

File metadata and controls

74 lines (49 loc) · 1.66 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: CD2DBrushProperties Class
CD2DBrushProperties Class
11/04/2016
CD2DBrushProperties
AFXRENDERTARGET/CD2DBrushProperties
AFXRENDERTARGET/CD2DBrushProperties::CD2DBrushProperties
AFXRENDERTARGET/CD2DBrushProperties::CommonInit
CD2DBrushProperties [MFC], CD2DBrushProperties
CD2DBrushProperties [MFC], CommonInit
c77d717f-0a16-4d74-b2ce-0ae1766ed6f9

CD2DBrushProperties Class

A wrapper for D2D1_BRUSH_PROPERTIES.

Syntax

class CD2DBrushProperties : public D2D1_BRUSH_PROPERTIES;

Members

Public Constructors

Name Description
CD2DBrushProperties::CD2DBrushProperties Overloaded. Creates a CD2D_BRUSH_PROPERTIES structure

Protected Methods

Name Description
CD2DBrushProperties::CommonInit Initializes the object

Inheritance Hierarchy

D2D1_BRUSH_PROPERTIES

CD2DBrushProperties

Requirements

Header: afxrendertarget.h

CD2DBrushProperties::CD2DBrushProperties

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

CD2DBrushProperties::CommonInit

Initializes the object

void CommonInit();

See also

Classes