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

  • 大小: 7.78MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-25
  • 語言: C/C++
  • 標簽: mfc??繪圖板??

資源簡介

計算機圖形學大作業,是我用MFC做的,因為是用MFC做的,所以畫圖部分比較慢,特別是種子填充,所以圖形變換和多邊形裁剪是另外兩個單獨的小程序。全部的功能有畫DDA直線,中心畫圓,橢圓,矩形,多邊形,反走樣直線,種子填充,掃描線填充,多邊形裁剪和圖形變換。

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“jhs.h“

#include?“MainFrm.h“
#include?“jhsDoc.h“
#include?“jhsView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CJhsApp

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

/////////////////////////////////////////////////////////////////////////////
//?CJhsApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CJhsApp?object

CJhsApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CJhsApp?initialization

BOOL?CJhsApp::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(CJhsDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CJhsView));
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;
}


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

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-01-13?17:57??繪圖板\
?????目錄???????????0??2013-01-13?17:57??繪圖板\jhs\
?????目錄???????????0??2013-01-13?17:57??繪圖板\jhs\Debug\
?????文件?????5440512??2012-12-24?00:29??繪圖板\jhs\Debug\jhs.bsc
?????文件??????139323??2012-12-24?00:29??繪圖板\jhs\Debug\jhs.exe
?????文件??????510200??2012-12-24?00:29??繪圖板\jhs\Debug\jhs.ilk
?????文件???????23224??2012-12-23?22:40??繪圖板\jhs\Debug\jhs.obj
?????文件?????6944108??2012-12-21?21:02??繪圖板\jhs\Debug\jhs.pch
?????文件??????541696??2012-12-24?00:29??繪圖板\jhs\Debug\jhs.pdb
?????文件????????7468??2012-12-24?00:28??繪圖板\jhs\Debug\jhs.res
?????文件???????????0??2012-12-23?22:40??繪圖板\jhs\Debug\jhs.sbr
?????文件???????14813??2012-12-21?21:02??繪圖板\jhs\Debug\jhsDoc.obj
?????文件???????????0??2012-12-21?21:02??繪圖板\jhs\Debug\jhsDoc.sbr
?????文件???????94933??2012-12-24?00:29??繪圖板\jhs\Debug\jhsView.obj
?????文件???????????0??2012-12-24?00:29??繪圖板\jhs\Debug\jhsView.sbr
?????文件???????20158??2012-12-21?21:02??繪圖板\jhs\Debug\MainFrm.obj
?????文件???????????0??2012-12-21?21:02??繪圖板\jhs\Debug\MainFrm.sbr
?????文件??????105853??2012-12-21?21:02??繪圖板\jhs\Debug\StdAfx.obj
?????文件?????1375037??2012-12-21?21:02??繪圖板\jhs\Debug\StdAfx.sbr
?????文件??????222208??2012-12-24?00:30??繪圖板\jhs\Debug\vc60.idb
?????文件??????380928??2012-12-24?00:29??繪圖板\jhs\Debug\vc60.pdb
?????文件???????44768??2012-12-24?00:25??繪圖板\jhs\jhs.aps
?????文件????????2474??2012-12-24?00:22??繪圖板\jhs\jhs.clw
?????文件????????4155??2012-12-21?19:48??繪圖板\jhs\jhs.cpp
?????文件????????4496??2012-12-21?21:18??繪圖板\jhs\jhs.dsp
?????文件?????????514??2012-12-21?19:48??繪圖板\jhs\jhs.dsw
?????文件????????1323??2012-12-21?19:48??繪圖板\jhs\jhs.h
?????文件???????91136??2012-12-24?00:31??繪圖板\jhs\jhs.ncb
?????文件???????53760??2012-12-24?00:31??繪圖板\jhs\jhs.opt
?????文件????????2328??2012-12-24?00:29??繪圖板\jhs\jhs.plg
?????文件???????12354??2012-12-24?00:25??繪圖板\jhs\jhs.rc
............此處省略113個文件信息

評論

共有 條評論