PolygonClipDoc.cpp
上传用户:shwyly
上传日期:2007-11-25
资源大小:47k
文件大小:2k
- // 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