CODArrowEndpoint Class

class CODArrowEndpoint: public CODEndpoint

Arrow endpoint representation.

Defined in: OdArrowEndpt.h

Class Members

 CODArrowEndpoint()

Constructor

 CODArrowEndpoint(const CODArrowEndpoint& src)

Copy constructor.

virtual  ~CODArrowEndpoint()

Destructor

CODArrowEndpoint&  operator=(const CODArrowEndpoint& src)

Assignment operator.

virtual CODEndpoint*  Dup() const

Create a duplicate copy of this object.

int m_nArrowLength

The length of the arrow.

int m_nArrowWidth

The width of the arrow.

int  GetArrowLength() const

Gets the arrow length.

void  SetArrowLength(const int nLength)

Sets the arrow length.

int  GetArrowWidth() const

Gets the arrow width.

void  SetArrowWidth(const int nWidth)

Sets the arrow width.

virtual void  OnDraw(CDC* pDC)

Draws the arrow endpoint.

virtual void  CalculateRgn(CODRgn* pRgn)

Calculate the region occupied by the endpoint.

virtual void  CalculateArrow(LPPOINT lpPoints)

Calculates the polygon of the arrow.

virtual void  Serialize(CArchive& ar)

Serializes the endpoint.