class CODCirclePort: public CODPortComponent
Port component represented by a circle with an cross through the center.
Defined in: OdCirclePort.h
VIEWS_API CODCirclePort()
Constructor.
VIEWS_API CODCirclePort(CODSymbolComponent* pOwner)
Constructor.
VIEWS_API CODCirclePort(const CODCirclePort& src)
Copy constructor.
VIEWS_API virtual ~CODCirclePort()
Destructor.
VIEWS_API BOOL Create(CPoint ptConnect, int nRadius)
Creates the port component from a point and radius.
VIEWS_API CODCirclePort& operator=(const CODCirclePort& src)
Sets this port equal to the one passed in.
VIEWS_API virtual CODComponent* Dup() const
Creates a new instance of this circle port.
VIEWS_API int GetRadius() const
Gets the radius of the port.
VIEWS_API void SetRadius(const int nRadius)
Sets the radius of the port.
VIEWS_API virtual void CalculateRgn(CODRgn* pRgn)
Calculate the region occupied by the component.
VIEWS_API virtual void AssignDefaultProperties(CODPropertySet* pDefaults = NULL)
Assign default properties.
VIEWS_API virtual void OnDraw(CDC* pDC)
Draws the circle port.
VIEWS_API virtual void Serialize(CArchive& ar)
Serializes the port.
int m_nRadius
Circle radius.