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

  • 大小: 117KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-05
  • 語言: 其他
  • 標簽: 花瓣??曲線??

資源簡介

利用VC,劃出花瓣曲線。用戶可以通過交互,控制四個變量來改變花瓣形狀:半徑大小,旋轉角度,花瓣數(shù)目,花瓣厚度。

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“flower.h“

#include?“MainFrm.h“
#include?“flowerDoc.h“
#include?“flowerView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CFlowerApp

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

/////////////////////////////////////////////////////////////////////////////
//?CFlowerApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CFlowerApp?object

CFlowerApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CFlowerApp?initialization

BOOL?CFlowerApp::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(CFlowerDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CFlowerView));
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;

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

?????文件?????123009??2009-10-25?14:09??花瓣曲線\Debug\flower.exe

?????文件??????43920??2006-11-07?22:50??花瓣曲線\flower.aps

?????文件???????2252??2006-11-07?22:51??花瓣曲線\flower.clw

?????文件???????4209??2006-11-07?19:37??花瓣曲線\flower.cpp

?????文件???????4555??2006-11-07?19:37??花瓣曲線\flower.dsp

?????文件????????535??2006-11-07?19:37??花瓣曲線\flower.dsw

?????文件?????123009??2009-10-25?14:09??花瓣曲線\flower.exe

?????文件???????1356??2006-11-07?19:37??花瓣曲線\flower.h

?????文件?????132096??2009-10-25?14:09??花瓣曲線\flower.ncb

?????文件??????48640??2009-10-25?14:09??花瓣曲線\flower.opt

?????文件???????4087??2009-10-25?14:09??花瓣曲線\flower.plg

?????文件??????11744??2006-11-07?22:50??花瓣曲線\flower.rc

?????文件???????1742??2006-11-07?19:37??花瓣曲線\flowerDoc.cpp

?????文件???????1475??2006-11-07?19:37??花瓣曲線\flowerDoc.h

?????文件???????5620??2006-11-07?22:48??花瓣曲線\flowerView.cpp

?????文件???????1869??2006-11-07?21:08??花瓣曲線\flowerView.h

?????文件???????2507??2006-11-07?19:37??花瓣曲線\MainFrm.cpp

?????文件???????1581??2006-11-07?19:37??花瓣曲線\MainFrm.h

?????文件???????4311??2006-11-07?19:37??花瓣曲線\ReadMe.txt

?????文件???????1078??2006-11-07?19:37??花瓣曲線\res\flower.ico

?????文件????????398??2006-11-07?19:37??花瓣曲線\res\flower.rc2

?????文件???????1078??2006-11-07?19:37??花瓣曲線\res\flowerDoc.ico

?????文件???????1078??2006-11-07?21:12??花瓣曲線\res\Toolbar.bmp

?????文件????????494??2006-11-07?19:37??花瓣曲線\Resource.h

?????文件????????208??2006-11-07?19:37??花瓣曲線\StdAfx.cpp

?????文件???????1054??2006-11-07?19:37??花瓣曲線\StdAfx.h

?????文件??????85504??2011-08-20?18:16??花瓣曲線\花瓣曲線.doc

????..AD...?????????0??2011-09-07?14:03??花瓣曲線\Debug

????..AD...?????????0??2011-09-07?14:03??花瓣曲線\res

????..AD...?????????0??2011-11-24?11:05??花瓣曲線

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

評論

共有 條評論