box.h

来自「Julia集的分形算法」· C头文件 代码 · 共 27 行

H
27
字号
#ifndef _BOX__
#define _BOX__

class CBox  
{
public:
//	CBox();
	CBox(COLORREF color=RGB(0xFF, 0, 0));
	virtual ~CBox();
	void Reset();
	void Draw(HDC hDC,RECT Rect);
	void SetColor(COLORREF color);
	void MKPoint(POINT& pt,int x,int y);
	void MyRectangle(HDC hdc,int left,int top,int right,int bottom);
	
private:
	RECT last_Rect;
	BOOL bHasBox;
private:
	void OverPreDraw(HDC hDC);
	HPEN hPen;
	COLORREF m_Color;

};

#endif 

⌨️ 快捷键说明

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