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

 CODClosedCurveComponent()

Constructor.

 CODClosedCurveComponent(const CODClosedCurveComponent& src)

Copy constructor.

virtual  ~CODClosedCurveComponent()

Destructor.

BOOL  Create(CODPointArray* pPointArray)

Creates the Curve component from a set of control points.

BOOL  Create(LPPOINT lpPoints, int nCount)

Creates the Curve component from a set of control points.

CODClosedCurveComponent&  operator=(const CODClosedCurveComponent& src)

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

virtual CODComponent*  Dup() const

Creates a copy of this component.

virtual void  OnDraw(CDC* pDC)

Draw the Curve.

virtual CODRgn  GetEdgeRgn()

Returns a region surrounding the edges of the component.

virtual void  CalculateRgn(CODRgn* pRgn)

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

virtual void  Serialize(CArchive& ar)

Serialize the Curve component.