intersectiondoc.cpp

来自「实现画点画线功能以及二维空间的分析」· C++ 代码 · 共 79 行

CPP
79
字号
// IntersectionDoc.cpp : implementation of the CIntersectionDoc class
//

#include "stdafx.h"
#include "Intersection.h"

#include "IntersectionDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CIntersectionDoc

IMPLEMENT_DYNCREATE(CIntersectionDoc, CDocument)

BEGIN_MESSAGE_MAP(CIntersectionDoc, CDocument)
END_MESSAGE_MAP()


// CIntersectionDoc construction/destruction

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

}

CIntersectionDoc::~CIntersectionDoc()
{
}

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

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

	return TRUE;
}




// CIntersectionDoc serialization

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


// CIntersectionDoc diagnostics

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

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


// CIntersectionDoc commands

⌨️ 快捷键说明

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