资源简介

关于计算机图形学的编程实习,实现的功能包括图形显示,图形变换(放大、平移、旋转等),二维裁剪等

资源截图

代码片段和文件信息

// 2010302590216.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “2010302590216.h“

#include “MainFrm.h“
#include “ChildFrm.h“
#include “2010302590216Doc.h“
#include “2010302590216View.h“

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

/////////////////////////////////////////////////////////////////////////////
// CMy2010302590216App

BEGIN_MESSAGE_MAP(CMy2010302590216App CWinApp)
//{{AFX_MSG_MAP(CMy2010302590216App)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// 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
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMy2010302590216App construction

CMy2010302590216App::CMy2010302590216App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CMy2010302590216App object

CMy2010302590216App theApp;

/////////////////////////////////////////////////////////////////////////////
// CMy2010302590216App initialization

BOOL CMy2010302590216App::InitInstance()
{
AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));

LoadStdProfileSettings();  // Load standard INI file options (including MRU)

// Register the application‘s document templates.  Document templates
//  serve as the connection between documents frame windows and views.

CMultiDocTemplate* pDocTemplate;
pDocTemplate = new CMultiDocTemplate(
IDR_MY2010TYPE
RUNTIME_CLASS(CMy2010302590216Doc)
RUNTIME_CLASS(CChildframe) // custom MDI child frame
RUNTIME_CLASS(CMy2010302590216View));
AddDocTemplate(pDocTemplate);

// create main MDI frame window
CMainframe* pMainframe = new CMainframe;
if (!pMainframe->Loadframe(IDR_MAINframe))
return FALSE;
m_pMainWnd = pMainframe;

// Parse command line for standard shell commands DDE file open
C

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-01-13 15:16  计图实习\
     目录           0  2013-01-13 15:16  计图实习\2010302590216\
     文件           0  2012-06-30 11:48  计图实习\2010302590216\2010302590216.aps
     文件        4669  2012-06-29 21:06  计图实习\2010302590216\2010302590216.clw
     文件        4544  2012-06-25 21:23  计图实习\2010302590216\2010302590216.cpp
     文件        4993  2012-06-27 21:14  计图实习\2010302590216\2010302590216.dsp
     文件         551  2012-06-25 18:23  计图实习\2010302590216\2010302590216.dsw
     文件        1461  2012-06-25 20:01  计图实习\2010302590216\2010302590216.h
     文件      189440  2012-06-30 11:49  计图实习\2010302590216\2010302590216.ncb
     文件       56832  2012-06-29 21:51  计图实习\2010302590216\2010302590216.opt
     文件         260  2012-06-29 21:51  计图实习\2010302590216\2010302590216.plg
     文件       16162  2012-06-27 21:14  计图实习\2010302590216\2010302590216.rc
     文件       26674  2012-06-29 21:51  计图实习\2010302590216\2010302590216Doc.cpp
     文件        2824  2012-06-29 18:45  计图实习\2010302590216\2010302590216Doc.h
     文件       22536  2012-06-29 21:45  计图实习\2010302590216\2010302590216View.cpp
     文件        2848  2012-06-29 18:38  计图实习\2010302590216\2010302590216View.h
     文件        1540  2012-06-25 18:23  计图实习\2010302590216\ChildFrm.cpp
     文件        1397  2012-06-25 18:23  计图实习\2010302590216\ChildFrm.h
     目录           0  2014-01-15 11:39  计图实习\2010302590216\Debug\
     文件     5465088  2012-06-29 21:51  计图实习\2010302590216\Debug\2010302590216.bsc
     文件     2293849  2012-06-29 21:51  计图实习\2010302590216\Debug\2010302590216.exe
     文件     2848620  2012-06-29 21:51  计图实习\2010302590216\Debug\2010302590216.ilk
     文件       22935  2012-06-29 18:46  计图实习\2010302590216\Debug\2010302590216.obj
     文件     4301824  2012-06-29 21:51  计图实习\2010302590216\Debug\2010302590216.pdb
     文件       16588  2012-06-28 13:49  计图实习\2010302590216\Debug\2010302590216.res
     文件           0  2012-06-29 18:46  计图实习\2010302590216\Debug\2010302590216.sbr
     文件       69720  2012-06-29 21:51  计图实习\2010302590216\Debug\2010302590216Doc.obj
     文件           0  2012-06-29 21:51  计图实习\2010302590216\Debug\2010302590216Doc.sbr
     文件       67443  2012-06-29 21:45  计图实习\2010302590216\Debug\2010302590216View.obj
     文件           0  2012-06-29 21:45  计图实习\2010302590216\Debug\2010302590216View.sbr
     文件       15231  2012-06-26 20:56  计图实习\2010302590216\Debug\ChildFrm.obj
............此处省略162个文件信息

评论

共有 条评论