www.pudn.com > MyDraw1225.rar > Rectangle.h


// Rectangle.h: interface for the CRectangle class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CRectangle:public CObject  
{ 
    DECLARE_SERIAL(CRectangle) 
public: 
	bool bIsSelected; 
	int startX; 
	int startY; 
	int endX; 
	int endY; 
	LOGPEN LinePen; 
	LOGBRUSH MyBrush; 
	void Serialize(CArchive & ar); 
 
	CRectangle(); 
	virtual ~CRectangle(); 
};