test_aggdoc.cpp

来自「agg图形库在WINCE下的一个DEMO」· C++ 代码 · 共 85 行

CPP
85
字号
// test_aggDoc.cpp : implementation of the CTest_aggDoc class
//

#include "stdafx.h"
#include "test_agg.h"

#include "test_aggDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CTest_aggDoc

IMPLEMENT_DYNCREATE(CTest_aggDoc, CDocument)

BEGIN_MESSAGE_MAP(CTest_aggDoc, CDocument)
	//{{AFX_MSG_MAP(CTest_aggDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTest_aggDoc construction/destruction

CTest_aggDoc::CTest_aggDoc()
{
	// TODO: add one-time construction code here

}

CTest_aggDoc::~CTest_aggDoc()
{
}

BOOL CTest_aggDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CTest_aggDoc serialization

void CTest_aggDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CTest_aggDoc diagnostics

#ifdef _DEBUG
void CTest_aggDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CTest_aggDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CTest_aggDoc commands

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?