⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 polygonclipdoc.cpp

📁 图形学VC++源代码 有课本得到 希望大家指导
💻 CPP
字号:
// PolygonClipDoc.cpp : implementation of the CPolygonClipDoc class
//

#include "stdafx.h"
#include "PolygonClip.h"

#include "PolygonClipDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CPolygonClipDoc

IMPLEMENT_DYNCREATE(CPolygonClipDoc, CDocument)

BEGIN_MESSAGE_MAP(CPolygonClipDoc, CDocument)
	//{{AFX_MSG_MAP(CPolygonClipDoc)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CPolygonClipDoc construction/destruction

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

}

CPolygonClipDoc::~CPolygonClipDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CPolygonClipDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CPolygonClipDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CPolygonClipDoc commands

⌨️ 快捷键说明

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