www.pudn.com > my2cadtest07261930.rar > EllipseTool.h, change:2006-07-24,size:796b


// EllipseTool.h: interface for the CEllipseTool class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_ELLIPSETOOL_H__0A58E72B_5D92_4EBC_92EF_291A8E26A101__INCLUDED_) 
#define AFX_ELLIPSETOOL_H__0A58E72B_5D92_4EBC_92EF_291A8E26A101__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "Tool.h" 
 
class CEllipseTool : public CTool   
{ 
public: 
	bool EllipseToBezier(HDC hDC, int left, int top,int right, int bottom); 
	void Draw(); 
	void PreDraw(); 
	void SaveSelf(); 
	CEllipseTool(HWND); 
	virtual ~CEllipseTool(); 
 
protected: 
	POINT m_p[13]; 
 
    bool m_IsFirstOpe;   //状态控制  保证动态绘图时痕迹完全檫除 
}; 
 
#endif // !defined(AFX_ELLIPSETOOL_H__0A58E72B_5D92_4EBC_92EF_291A8E26A101__INCLUDED_)