CD2DLayer Class
A wrapper for ID2D1Layer.
class CD2DLayer : public CD2DResource;
Members
Public Constructors
Name |
Description |
---|---|
Constructs a CD2DLayer object. |
|
The destructor. Called when a D2D layer object is being destroyed. |
Public Methods
Name |
Description |
---|---|
Attaches existing resource interface to the object |
|
Creates a CD2DLayer. (Overrides CD2DResource::Create.) |
|
Destroys a CD2DLayer object. (Overrides CD2DResource::Destroy.) |
|
Detaches resource interface from the object |
|
Returns ID2D1Layer interface |
|
Returns the size of the render target in device-independent pixels |
|
Checks resource validity (Overrides CD2DResource::IsValid.) |
Public Operators
Name |
Description |
---|---|
Returns ID2D1Layer interface |
Protected Data Members
Name |
Description |
---|---|
Stores a pointer to an ID2D1Layer object. |
Inheritance Hierarchy
Requirements
Header: afxrendertarget.h