CD2DTextFormat Class
Visual Studio 2010
Updated: March 2011
Visual Studio 2010 SP1 is required.
A wrapper for IDWriteTextFormat.
class CD2DTextFormat : public CD2DResource;
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. |