Share via


CDCRenderTarget Class

A wrapper for ID2D1DCRenderTarget.

class CDCRenderTarget : public CRenderTarget;

Members

Public Constructors

Name

Description

CDCRenderTarget::CDCRenderTarget

Constructs a CDCRenderTarget object.

Public Methods

Name

Description

CDCRenderTarget::Attach

Attaches existing render target interface to the object

CDCRenderTarget::BindDC

Binds the render target to the device context to which it issues drawing commands

CDCRenderTarget::Create

Creates a CDCRenderTarget.

CDCRenderTarget::Detach

Detaches render target interface from the object

CDCRenderTarget::GetDCRenderTarget

Returns ID2D1DCRenderTarget interface

Public Operators

Name

Description

CDCRenderTarget::operator ID2D1DCRenderTarget*

Returns ID2D1DCRenderTarget interface

Protected Data Members

Name

Description

CDCRenderTarget::m_pDCRenderTarget

A pointer to an ID2D1DCRenderTarget object.

Inheritance Hierarchy

CObject

CRenderTarget

CDCRenderTarget

Requirements

Header: afxrendertarget.h

See Also

Other Resources

MFC Classes