graphellipse.h

来自「一个简单的画图程序 可以画点线面等」· C头文件 代码 · 共 32 行

H
32
字号
// GraphEllipse.h: interface for the CGraphEllipse class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GRAPHELLIPSE_H__2B180A23_5344_442F_8263_54BE07407598__INCLUDED_)
#define AFX_GRAPHELLIPSE_H__2B180A23_5344_442F_8263_54BE07407598__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Graph.h"

class CGraphEllipse : public CGraph  
{
public:
		void Draw(CDC *pDC);
	CPoint GetPoint2();
	void SetPoint2(CPoint point);
	CPoint GetPoint1();
	void SetPoint1(CPoint point);
	void Serialize(CArchive& ar);
	CGraphEllipse();
	virtual ~CGraphEllipse();
protected:
	CPoint m_point1;
	CPoint m_point2;
	int a;
};

#endif // !defined(AFX_GRAPHELLIPSE_H__2B180A23_5344_442F_8263_54BE07407598__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?