lazyspath.cpp
来自「这是书上的代码」· C++ 代码 · 共 51 行
CPP
51 行
// LazysPath.cpp: implementation of the CLazysPath class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "paintobj.h"
#include "LazysPath.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CLazysPath::CLazysPath()
{
}
CLazysPath::~CLazysPath()
{
}
BOOL CLazysPath::Create(CArchive& ar,USHORT ver)
{
// Init the fields in the base class
if (!CPath::Create(ar,ver))
return FALSE;
// Init the fields specific to this class
ar >> m_angStart;
return TRUE;
}
BOOL CLazysPath::Save(CArchive& ar,USHORT ver)
{
// Init the fields in the base class
if (!CPath::Save(ar,ver))
return FALSE;
// Init the fields specific to this class
ar << m_angStart;
return TRUE;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?