CODClosedCurveComponent Class

class CODClosedCurveComponent: public CODCurveComponent

Closed curve component.

The following properties are added to the component by this class:

OD_PROP_FILL

Defined in: OdClosedCurveComp.h

See Also

Component Property Identifiers

Class Members

VIEWS_API CODClosedCurveComponent()

Constructor.

VIEWS_API CODClosedCurveComponent(const CODClosedCurveComponent& src)

Copy constructor.

VIEWS_API virtual ~CODClosedCurveComponent()

Destructor.

VIEWS_API BOOL Create(CODPointArray* pPointArray)

Creates the Curve component from a set of control points.

VIEWS_API BOOL Create(LPPOINT lpPoints, int nCount)

Creates the Curve component from a set of control points.

VIEWS_API CODClosedCurveComponent& operator=(const CODClosedCurveComponent& src)

Assignment operator: sets the component's attributes equal to that of the r-value component.

VIEWS_API virtual CODComponent* Dup() const

Creates a copy of this component.

VIEWS_API virtual void OnDraw(CDC* pDC)

Draw the Curve.

VIEWS_API virtual CODRgn GetEdgeRgn()

Returns a region surrounding the edges of the component.

VIEWS_API virtual void CalculateRgn(CODRgn* pRgn)

Calculates the region taken up on the diagram by this component.

VIEWS_API virtual void Serialize(CArchive& ar)

Serialize the Curve component.