📄 zcr14shape.cpp
字号:
// ZCR14Shape.cpp: implementation of the CZCR14Shape class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ZCR14Paint.h"
#include "ZCR14Shape.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CZCR14Shape::CZCR14Shape()
{
}
CZCR14Shape::~CZCR14Shape()
{
}
void CZCR14Shape::Draw(CDC *pDC)
{
}
IMPLEMENT_SERIAL(CZCR14Shape,CObject,1)
void CZCR14Shape::Serialize(CArchive &ar)
{
CObject::Serialize(ar);
if(ar.IsStoring())
{
ar<<m_clrPaint<< m_clrCanvase;
}
else
{
ar>>m_clrPaint>>m_clrCanvase;
}
}
CZCR14Shape* CZCR14Shape::NewShape()
{
return new CZCR14Shape;
}
CString CZCR14Shape::GetClassName()
{
return "CZCR14Shape";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -