📄 linepath.cpp
字号:
// LinePath.cpp: implementation of the CLinePath class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "const.h"
#include "paintobj.h"
#include "LinePath.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CLinePath::CLinePath()
{
}
CLinePath::~CLinePath()
{
}
BOOL CLinePath::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_uObstacle >> m_uHeading;
return TRUE;
}
BOOL CLinePath::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_uObstacle << m_uHeading;
return TRUE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -