www.pudn.com > my2cadtest07261930.rar > Shape.cpp, change:2006-07-22,size:408b


#include "stdafx.h" 
#include "Shape.h" 
 
 
 
CShape::CShape() 
:m_selected(false),m_operStatus(FirstOper),m_bdefultPen(true) 
{ 
 
} 
 
CShape::~CShape() 
{ 
 
} 
 
void CShape::RollBackOper(HDC &hdc) 
{ 
    penattrib->GetPen(hdc,true); 
	PreDraw(hdc); 
	penattrib->ReleasePen(true); 
    for(int nI=0;nI<m_pointcount;nI++) 
	{ 
		m_copypoint[nI]=m_point[nI]; 
    } 
	m_operStatus = FirstOper; 
 
 
}