Condividi tramite


CD2DPathGeometry Class

A wrapper for ID2D1PathGeometry.

class CD2DPathGeometry : public CD2DGeometry;

Members

Public Constructors

Name

Description

CD2DPathGeometry::CD2DPathGeometry

Constructs a CD2DPathGeometry object.

Public Methods

Name

Description

CD2DPathGeometry::Attach

Attaches existing resource interface to the object

CD2DPathGeometry::Create

Creates a CD2DPathGeometry. (Overrides CD2DResource::Create.)

CD2DPathGeometry::Destroy

Destroys a CD2DPathGeometry object. (Overrides CD2DGeometry::Destroy.)

CD2DPathGeometry::Detach

Detaches resource interface from the object

CD2DPathGeometry::GetFigureCount

Retrieves tthe number of figures in the path geometry.

CD2DPathGeometry::GetSegmentCount

Retrieves the number of segments in the path geometry.

CD2DPathGeometry::Open

Retrieves the geometry sink that is used to populate the path geometry with figures and segments.

CD2DPathGeometry::Stream

Copies the contents of the path geometry to the specified ID2D1GeometrySink.

Protected Data Members

Name

Description

CD2DPathGeometry::m_pPathGeometry

A pointer to an ID2D1PathGeometry.

Inheritance Hierarchy

CObject

CD2DResource

CD2DGeometry

CD2DPathGeometry

Requirements

Header: afxrendertarget.h

See Also

Other Resources

MFC Classes