www.pudn.com > my2cadtest07261930.rar > CurveTool.h, change:2006-07-19,size:818b


// CurveTool.h: interface for the CCurveTool class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_CURVETOOL_H__AF1E4EBE_E4B5_4745_AFDA_7A18E3DC2969__INCLUDED_) 
#define AFX_CURVETOOL_H__AF1E4EBE_E4B5_4745_AFDA_7A18E3DC2969__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "Tool.h" 
 
class CCurveTool : public CTool   
{ 
public: 
	void PreDraw(); 
	void SaveSelf(); 
	virtual void OnLButtonDown(WPARAM wParam, LPARAM lParam); 
	virtual void OnMouseMove(WPARAM wParam, LPARAM lParam); 
	virtual void OnRButtonDown(WPARAM wParam,LPARAM lParam); 
	CCurveTool(HWND); 
	virtual ~CCurveTool(); 
 
protected: 
	POINT m_p[5000]; 
	int m_count; 
}; 
 
#endif // !defined(AFX_CURVETOOL_H__AF1E4EBE_E4B5_4745_AFDA_7A18E3DC2969__INCLUDED_)