www.pudn.com > my2cadtest07261930.rar > MirrorTool.h, change:2006-07-20,size:638b


 
#ifndef _mirrortool_ 
#define _mirrortool_ 
 
#include "Tool.h" 
#include "LineTool.h" 
#include "Shape.h" 
#include "list.h" 
 
class CMirrorTool : public CTool   
{ 
public: 
	CMirrorTool(HWND hWnd); 
	virtual ~CMirrorTool(); 
 
public: 
    void OnLButtonDown(WPARAM wParam,LPARAM lParam); 
    void OnMouseMove(WPARAM wParam,LPARAM lParam); 
 
    void OnRButtonDown(WPARAM wParam,LPARAM lParam); 
private: 
//   CList<CShape *> m_catchShapeList;  //将已经选取的图形拷贝集中放一张新链表中 
   CShape * m_copyshape;                //获取选取图形的一个拷贝 
   CLineTool  m_mirroline;            //静像图形对称轴直线     
}; 
 
#endif