#ifndef CELLIPSE
#define CELLIPSE

#pragma once 

#include "CCircle.h"

class CEllipse : public CCircle
{
    int YRad;

public : 
	CEllipse();
	CEllipse(int _X, int _Y, int _XRad, int _YRad);
		 void SetYRad(int _YRad);
		 int GetYRad() const;
		 double GetArea() const;
		 int getNumType();
		 void display(std::ostream& x);

void Draw(CDC* pDC, Shape* figure=0,bool doLine=false);

CRect GetBoundRect();

void writeAr(CArchive& ar);
void readAr(CArchive& ar);

CString getName();

virtual ~CEllipse();
};
#endif
Соседние файлы в папке part31