www.pudn.com > drawpad.zip > circlefilltool.h


#ifndef _CIRCLEFILLTOOL_H 
#define _CIRCLEFILLTOOL_H 
 
#ifndef _PICKEVENT_H 
#include "pickevent.h" 
#endif 
 
// ******************************************** 
// Class name: CIRCLEFILL_TOOL 
// Function:   tool to process mouse events 
// ******************************************** 
 
class RBD_CIRCLEFILL; 
 
class CIRCLEFILL_TOOL : public MOUSE_TOOL { 
protected: 
	CPoint m_nStart; 
	CPoint m_nEnd; 
	CView *m_pView; 
	RBD_CIRCLEFILL *m_pRbdLine; 
 
public: 
	CIRCLEFILL_TOOL(); 
	virtual ~CIRCLEFILL_TOOL(); 
 
	virtual int ProcessEvent(int evType, const PICK_EVENT& pe); 
 
private: 
	void CreateCIRCLEFILL(); 
}; 
 
#endif