⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mycirc.h

📁 在代码中演示使用C++开发的BREW端方便的程序 非常值得初学者学习.
💻 H
字号:
// Circ.h: interface for the CCirc class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(_MY_CIRC_H)
#define _MY_CIRC_H

#include "myShape.h"
#include "myPoint.h"	// Added by ClassView

class CCirc : public CShape  
{
public:
	void operator delete(void *p);
	void* operator new(size_t sz);
	void setr(uint16 r);
	void setCenter(int16 x, int16 y);
	void setCenter(CPoint c);
	CCirc(uint16 r, CPoint c, RGBVAL col);
	boolean draw(IGraphics *pg);
	uint16 getRad() const;
	CPoint* getCenter();
	CCirc();
	virtual ~CCirc();

private:
	uint16 m_rad;
	CPoint m_center;
};

#endif // !defined(_MY_CIRC_H)

⌨️ 快捷键说明

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