CD2DBitmap Class
A wrapper for ID2D1Bitmap.
class CD2DBitmap : public CD2DResource;
Members
Public Constructors
Name |
Description |
---|---|
Overloaded. Constructs a CD2DBitmap object from HBITMAP. |
|
The destructor. Called when a D2D bitmap object is being destroyed. |
Protected Constructors
Name |
Description |
---|---|
Overloaded. Constructs a CD2DBitmap object. |
Public Methods
Name |
Description |
---|---|
Attaches existing resource interface to the object |
|
Copies the specified region from the specified bitmap into the current bitmap |
|
Copies the specified region from memory into the current bitmap |
|
Copies the specified region from the specified render target into the current bitmap |
|
Creates a CD2DBitmap. (Overrides CD2DResource::Create.) |
|
Destroys a CD2DBitmap object. (Overrides CD2DResource::Destroy.) |
|
Detaches resource interface from the object |
|
Returns ID2D1Bitmap interface |
|
Return the dots per inch (DPI) of the bitmap |
|
Retrieves the pixel format and alpha mode of the bitmap |
|
Returns the size, in device-dependent units (pixels), of the bitmap |
|
Returns the size, in device-independent pixels (DIPs), of the bitmap |
|
Checks resource validity (Overrides CD2DResource::IsValid.) |
Protected Methods
Name |
Description |
---|---|
Initializes the object |
Public Operators
Name |
Description |
---|---|
Returns ID2D1Bitmap interface |
Protected Data Members
Name |
Description |
---|---|
TRUE if m_hBmpSrc should be destroyed; otherwise FALSE. |
|
Source bitmap handle. |
|
Resource type. |
|
Stores a pointer to an ID2D1Bitmap object. |
|
Bitmap destination size. |
|
Botmap file path. |
|
Bitmap resource ID. |
Inheritance Hierarchy
Requirements
Header: afxrendertarget.h