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