CD2DTextFormat Class
A wrapper for IDWriteTextFormat.
class CD2DTextFormat : public CD2DResource;
Members
Public Constructors
Name |
Description |
---|---|
Constructs a CD2DTextFormat object. |
|
The destructor. Called when a D2D text format object is being destroyed. |
Public Methods
Name |
Description |
---|---|
Creates a CD2DTextFormat. (Overrides CD2DResource::Create.) |
|
Destroys a CD2DTextFormat object. (Overrides CD2DResource::Destroy.) |
|
Returns IDWriteTextFormat interface |
|
Gets a copy of the font family name. |
|
Gets a copy of the locale name. |
|
Checks resource validity (Overrides CD2DResource::IsValid.) |
|
Re-creates a CD2DTextFormat. (Overrides CD2DResource::ReCreate.) |
Public Operators
Name |
Description |
---|---|
Returns IDWriteTextFormat interface |
Protected Data Members
Name |
Description |
---|---|
A pointer to an IDWriteTextFormat. |
Inheritance Hierarchy
Requirements
Header: afxrendertarget.h