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

  • 大小: 1.89MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-08-31
  • 語(yǔ)言: C/C++
  • 標(biāo)簽: MFC??直線??

資源簡(jiǎn)介

可以用Bresenham繪制直線 五角星等簡(jiǎn)單圖形。

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“DrawSw.h“

#include?“MainFrm.h“
#include?“DrawSwDoc.h“
#include?“DrawSwView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CDrawSwApp

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

/////////////////////////////////////////////////////////////////////////////
//?CDrawSwApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDrawSwApp?object

CDrawSwApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CDrawSwApp?initialization

BOOL?CDrawSwApp::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(CDrawSwDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CDrawSwView));
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;

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件?????131153??2010-09-27?14:34??DrawSw\Debug\DrawSw.exe

?????文件?????341676??2010-09-27?14:34??DrawSw\Debug\DrawSw.ilk

?????文件??????23232??2009-09-15?22:04??DrawSw\Debug\DrawSw.obj

?????文件????5501952??2009-09-13?09:11??DrawSw\Debug\DrawSw.pch

?????文件?????500736??2010-09-27?14:34??DrawSw\Debug\DrawSw.pdb

?????文件???????8116??2009-09-15?22:03??DrawSw\Debug\DrawSw.res

?????文件??????15004??2009-09-13?09:11??DrawSw\Debug\DrawSwDoc.obj

?????文件??????43391??2009-09-17?16:47??DrawSw\Debug\DrawSwView.obj

?????文件??????10925??2010-09-27?14:34??DrawSw\Debug\fstar.obj

?????文件??????12658??2010-09-27?14:34??DrawSw\Debug\Line.obj

?????文件??????20204??2009-09-13?09:11??DrawSw\Debug\MainFrm.obj

?????文件?????105887??2009-09-13?09:11??DrawSw\Debug\StdAfx.obj

?????文件?????230400??2010-10-25?23:27??DrawSw\Debug\vc60.idb

?????文件?????372736??2010-09-27?14:34??DrawSw\Debug\vc60.pdb

?????文件??????30372??2010-09-27?14:00??DrawSw\DrawSw.aps

?????文件???????3549??2010-09-27?19:51??DrawSw\DrawSw.clw

?????文件???????4209??2009-09-13?08:55??DrawSw\DrawSw.cpp

?????文件???????3401??2010-09-27?20:09??DrawSw\DrawSw.dsp

?????文件????????520??2010-09-27?20:11??DrawSw\DrawSw.dsw

?????文件???????1356??2009-09-13?08:55??DrawSw\DrawSw.h

?????文件?????173056??2010-10-25?23:27??DrawSw\DrawSw.ncb

?????文件??????53760??2010-10-25?23:27??DrawSw\DrawSw.opt

?????文件????????246??2010-10-25?23:27??DrawSw\DrawSw.plg

?????文件??????13663??2009-09-15?22:03??DrawSw\DrawSw.rc

?????文件???????1742??2009-09-13?08:55??DrawSw\DrawSwDoc.cpp

?????文件???????1475??2009-09-13?08:55??DrawSw\DrawSwDoc.h

?????文件???????7804??2009-09-17?16:47??DrawSw\DrawSwView.cpp

?????文件???????2097??2009-09-15?22:04??DrawSw\DrawSwView.h

?????文件???????1121??2010-09-27?14:31??DrawSw\fstar.cpp

?????文件???????1152??2010-09-27?14:31??DrawSw\fstar.h

............此處省略18個(gè)文件信息

評(píng)論

共有 條評(píng)論