資源簡介
Bezier曲線MFC實現源代碼 Bezier 計算機圖形學 源代碼

代碼片段和文件信息
//?a.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“a.h“
#include?“MainFrm.h“
#include?“aDoc.h“
#include?“aView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CAApp
BEGIN_MESSAGE_MAP(CAApp?CWinApp)
//{{AFX_MSG_MAP(CAApp)
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()
/////////////////////////////////////////////////////////////////////////////
//?CAApp?construction
CAApp::CAApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CAApp?object
CAApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CAApp?initialization
BOOL?CAApp::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.
CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CADoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CAView));
AddDocTemplate(pDocTemplate);
//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);
//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;
//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1880??2008-04-13?23:58??Bezier曲線\a.clw
?????文件???????4119??2008-04-13?23:58??Bezier曲線\a.cpp
?????文件???????4450??2008-04-13?23:58??Bezier曲線\a.dsp
?????文件????????527??2008-04-13?23:58??Bezier曲線\a.dsw
?????文件?????118858??2008-05-02?22:25??Bezier曲線\a.exe
?????文件???????1301??2008-04-13?23:58??Bezier曲線\a.h
?????文件??????74752??2008-05-02?22:25??Bezier曲線\a.ncb
?????文件??????53760??2008-05-02?22:25??Bezier曲線\a.opt
?????文件????????539??2008-05-02?22:25??Bezier曲線\a.plg
?????文件??????10468??2008-04-13?23:58??Bezier曲線\a.rc
?????文件???????1642??2008-04-13?23:58??Bezier曲線\aDoc.cpp
?????文件???????1420??2008-04-13?23:58??Bezier曲線\aDoc.h
?????文件???????3352??2008-04-14?00:17??Bezier曲線\aView.cpp
?????文件???????1811??2008-04-13?23:58??Bezier曲線\aView.h
?????文件???????2502??2008-04-13?23:58??Bezier曲線\MainFrm.cpp
?????文件???????1581??2008-04-13?23:58??Bezier曲線\MainFrm.h
?????文件???????4191??2008-04-13?23:58??Bezier曲線\ReadMe.txt
?????文件???????1078??2008-04-13?23:58??Bezier曲線\res\a.ico
?????文件????????393??2008-04-13?23:58??Bezier曲線\res\a.rc2
?????文件???????1078??2008-04-13?23:58??Bezier曲線\res\aDoc.ico
?????文件???????1078??2008-04-13?23:58??Bezier曲線\res\Toolbar.bmp
?????文件????????484??2008-04-13?23:58??Bezier曲線\Resource.h
?????文件????????203??2008-04-13?23:58??Bezier曲線\StdAfx.cpp
?????文件???????1054??2008-04-13?23:58??Bezier曲線\StdAfx.h
?????目錄??????????0??2008-07-09?22:52??Bezier曲線\res
?????目錄??????????0??2010-02-06?12:01??Bezier曲線
-----------?---------??----------?-----??----
???????????????292521????????????????????26
- 上一篇:xdebug for php5.2.x
- 下一篇:SHA-1算法實現源代碼
評論
共有 條評論