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