
class CBkgPicInfo : public CObject	//Added by zwz 2001/4/18
{
//	DECLARE_SERIAL(CBkgPicInfo)
public:
	CString	strBkgPicPath;
	int		nPixWidth;
	int		nPixHeight;			
	double  dXInsert;
	double 	dYInsert;
	double  dZInsert;
	double	dRealWidth;
	double	dRealHeight;
	double	dScale;
	double	dRotAngle;
	int		nBitCount;
public:
	virtual void Serialize(CArchive &ar)
	{
		if(ar.IsStoring())
		{
			ar<<strBkgPicPath;
			ar<<nPixWidth;
			ar<<nPixHeight;	
			ar<<dXInsert;	
			ar<<dYInsert;	
			ar<<dZInsert;	
			ar<<dRealWidth;
			ar<<dRealHeight;	
			ar<<dScale;
			ar<<dRotAngle;
			ar<<nBitCount;
		}
		else
		{
			ar>>strBkgPicPath;
			ar>>nPixWidth;
			ar>>nPixHeight;	
			ar>>dXInsert;	
			ar>>dYInsert;	
			ar>>dZInsert;	
			ar>>dRealWidth;
			ar>>dRealHeight;	
			ar>>dScale;
			ar>>dRotAngle;
			ar>>nBitCount;
		}
	};
	CBkgPicInfo()
	{
		strBkgPicPath	= "";
		nPixWidth		= 0;
		nPixHeight		= 0;
		dXInsert		= 0;
		dYInsert		= 0;
		dZInsert	    = 0;
		dRealWidth		= 0.0;
		dRealHeight		= 0.0;
		dScale			= 1.0;
		dRotAngle		= 0.0;
		nBitCount		= 0;
	};
	~CBkgPicInfo()
	{
	};
};
