Share via


CBitmapRenderTarget Class

A wrapper for ID2D1BitmapRenderTarget.

class CBitmapRenderTarget : public CRenderTarget;

Members

Public Constructors

Name

Description

CBitmapRenderTarget::CBitmapRenderTarget

Constructs a CBitmapRenderTarget object.

Public Methods

Name

Description

CBitmapRenderTarget::Attach

Attaches existing render target interface to the object

CBitmapRenderTarget::Detach

Detaches render target interface from the object

CBitmapRenderTarget::GetBitmap

Retrieves the bitmap for this render target. The returned bitmap can be used for drawing operations.

CBitmapRenderTarget::GetBitmapRenderTarget

Returns ID2D1BitmapRenderTarget interface

Public Operators

Name

Description

CBitmapRenderTarget::operator ID2D1BitmapRenderTarget*

Returns ID2D1BitmapRenderTarget interface

Protected Data Members

Name

Description

CBitmapRenderTarget::m_pBitmapRenderTarget

A pointer to an ID2D1BitmapRenderTarget object.

Inheritance Hierarchy

CObject

CRenderTarget

CBitmapRenderTarget

Requirements

Header: afxrendertarget.h

See Also

Other Resources

MFC Classes