91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.83MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-10-14
  • 語言: 其他
  • 標簽: 繪制直線??

資源簡介

計算機圖形學繪制任意斜率直線段,孔令德版教程配套實驗,含實驗源代碼和運行后生成的各種文件

資源截圖

代碼片段和文件信息

//?2.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“2.h“

#include?“MainFrm.h“
#include?“2Doc.h“
#include?“2View.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMy2App

BEGIN_MESSAGE_MAP(CMy2App?CWinApp)
//{{AFX_MSG_MAP(CMy2App)
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()

/////////////////////////////////////////////////////////////////////////////
//?CMy2App?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy2App?object

CMy2App?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CMy2App?initialization

BOOL?CMy2App::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(CMy2Doc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CMy2View));
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;
}


/////////////////////////////////////////////////

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????28220??2015-06-03?20:45??實驗三\2\2.aps

?????文件???????2163??2015-06-03?21:38??實驗三\2\2.clw

?????文件???????4147??2013-05-16?16:56??實驗三\2\2.cpp

?????文件???????4686??2013-05-16?18:18??實驗三\2\2.dsp

?????文件????????527??2013-05-16?16:56??實驗三\2\2.dsw

?????文件???????1311??2013-05-16?16:56??實驗三\2\2.h

?????文件?????107520??2013-06-23?16:48??實驗三\2\2.ncb

?????文件??????50688??2013-06-23?16:48??實驗三\2\2.opt

?????文件???????1858??2015-06-03?21:37??實驗三\2\2.plg

?????文件??????10476??2013-05-16?16:56??實驗三\2\2.rc

?????文件???????1676??2013-05-16?16:56??實驗三\2\2Doc.cpp

?????文件???????1434??2013-05-16?16:56??實驗三\2\2Doc.h

?????文件???????2916??2015-06-03?21:38??實驗三\2\2View.cpp

?????文件???????1862??2015-06-03?21:09??實驗三\2\2View.h

?????文件?????122924??2015-06-03?21:37??實驗三\2\Debug\2.exe

?????文件?????314312??2015-06-03?21:37??實驗三\2\Debug\2.ilk

?????文件??????22504??2015-06-03?21:37??實驗三\2\Debug\2.obj

?????文件????5499404??2015-06-03?21:37??實驗三\2\Debug\2.pch

?????文件?????336896??2015-06-03?21:37??實驗三\2\Debug\2.pdb

?????文件???????7160??2015-06-03?21:37??實驗三\2\Debug\2.res

?????文件??????14276??2015-06-03?21:37??實驗三\2\Debug\2Doc.obj

?????文件??????25684??2015-06-03?21:37??實驗三\2\Debug\2View.obj

?????文件??????16020??2015-06-03?21:37??實驗三\2\Debug\Line.obj

?????文件??????19627??2015-06-03?21:37??實驗三\2\Debug\MainFrm.obj

?????文件???????4323??2015-06-03?21:37??實驗三\2\Debug\P2.obj

?????文件?????105362??2015-06-03?21:37??實驗三\2\Debug\StdAfx.obj

?????文件?????197632??2015-06-03?21:37??實驗三\2\Debug\vc60.idb

?????文件?????364544??2015-06-03?21:37??實驗三\2\Debug\vc60.pdb

?????文件???????2087??2015-06-03?21:33??實驗三\2\Line.cpp

?????文件????????679??2015-06-03?21:13??實驗三\2\Line.h

............此處省略19個文件信息

評論

共有 條評論