CD2DLinearGradientBrush Class
A wrapper for ID2D1LinearGradientBrush.
class CD2DLinearGradientBrush : public CD2DGradientBrush;
Members
Public Constructors
Name |
Description |
---|---|
Constructs a CD2DLinearGradientBrush object. |
|
The destructor. Called when a D2D linear gradient brush object is being destroyed. |
Public Methods
Name |
Description |
---|---|
Attaches existing resource interface to the object |
|
Creates a CD2DLinearGradientBrush. (Overrides CD2DResource::Create.) |
|
Destroys a CD2DLinearGradientBrush object. (Overrides CD2DGradientBrush::Destroy.) |
|
Detaches resource interface from the object |
|
Returns ID2D1LinearGradientBrush interface |
|
Retrieves the ending coordinates of the linear gradient |
|
Retrieves the starting coordinates of the linear gradient |
|
Sets the ending coordinates of the linear gradient in the brush's coordinate space |
|
Sets the starting coordinates of the linear gradient in the brush's coordinate space |
Public Operators
Name |
Description |
---|---|
Returns ID2D1LinearGradientBrush interface |
Protected Data Members
Name |
Description |
---|---|
The start and end points of the gradient. |
|
A pointer to an ID2D1LinearGradientBrush. |
Inheritance Hierarchy
Requirements
Header: afxrendertarget.h