📄 mycirc.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 + -