CD2DBrush Class
Visual Studio 2010 SP1 is required.
A wrapper for ID2D1Brush.
class CD2DBrush : public CD2DResource;
Members
Protected Constructors
Name |
Description |
---|---|
Constructs a CD2DBrush object. |
|
The destructor. Called when a D2D brush object is being destroyed. |
Public Methods
Name |
Description |
---|---|
Attaches existing resource interface to the object |
|
Destroys a CD2DBrush object. (Overrides CD2DResource::Destroy.) |
|
Detaches resource interface from the object |
|
Returns ID2D1Brush interface |
|
Gets the degree of opacity of this brush |
|
Gets the current transform of the render target |
|
Checks resource validity (Overrides CD2DResource::IsValid.) |
|
Sets the degree of opacity of this brush |
|
Applies the specified transform to the render target, replacing the existing transformation. All subsequent drawing operations occur in the transformed space |
Public Operators
Name |
Description |
---|---|
Returns ID2D1Brush interface |
Protected Data Members
Name |
Description |
---|---|
Stores a pointer to an ID2D1Brush object. |
|
Brush properties. |
Inheritance Hierarchy
Requirements
Header: afxrendertarget.h