CODEllipseComponent2 Class
class CODEllipseComponent2: public CODPointComponent
Ellipse2 component. This version of the ellipse class displays itself using the GDI ellipse function. This class does not support rotation. The Ellipse and Ellipse2 classes are incompatible.The following properties are added to the component by this class:
OD_PROP_LINE, OD_PROP_FILL
Defined in: OdEllipseComp2.h
See Also
Component Property Identifiers
Class Members
Constructor.
CODEllipseComponent2(const CODEllipseComponent2& src)
Copy constructor.
virtual ~CODEllipseComponent2()
Destructor.
BOOL Create(CRect rect)
Creates the rectangle component from a CRect object.
BOOL Create(int nLeft, int nTop, int nRight, int nBottom)
Creates the rectangle component from boundary information.
CODEllipseComponent2& operator=(const CODEllipseComponent2& src)
Assignment operator: sets the component's attributes equal to	that of the r-value component.
virtual CODComponent* Dup() const
Creates a copy of this component.
virtual void AssignDefaultProperties(CODPropertySet* pDefaults = NULL)
Assigns default properties to this component.
virtual void OnDraw(CDC* pDC)
Draws the rectangle component.
virtual OD_MOVEVERTEX_RC CalculateMovedVertices(int nIndex, int nOffsetX, int nOffsetY)
Calculates the new position of a vertex being moved.
virtual void Serialize(CArchive& ar)
Serializes the component.