CODArrowEndpoint Class

class CODArrowEndpoint: public CODEndpoint

Arrow endpoint representation.

Defined in: OdArrowEndpt.h

Class Members

VIEWS_API CODArrowEndpoint()

Constructor

VIEWS_API CODArrowEndpoint(const CODArrowEndpoint& src)

Copy constructor.

VIEWS_API virtual ~CODArrowEndpoint()

Destructor

VIEWS_API CODArrowEndpoint& operator=(const CODArrowEndpoint& src)

Assignment operator.

VIEWS_API 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.

VIEWS_API int GetArrowLength() const

Gets the arrow length.

VIEWS_API void SetArrowLength(const int nLength)

Sets the arrow length.

VIEWS_API int GetArrowWidth() const

Gets the arrow width.

VIEWS_API void SetArrowWidth(const int nWidth)

Sets the arrow width.

VIEWS_API virtual void OnDraw(CDC* pDC)

Draws the arrow endpoint.

VIEWS_API virtual void CalculateRgn(CODRgn* pRgn)

Calculate the region occupied by the endpoint.

VIEWS_API virtual void CalculateArrow(LPPOINT lpPoints)

Calculates the polygon of the arrow.

VIEWS_API virtual void Serialize(CArchive& ar)

Serializes the endpoint.