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

  • 大小: 40KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-24
  • 語言: C/C++
  • 標簽: MFC??Bezier曲線??

資源簡介

運行后,點4個控制點,然后就可繪畫出Bezier曲線,可通過4個控制點調整曲線。MFC工程,工程下有使用說明

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“Bezier.h“

#include?“MainFrm.h“
#include?“ChildFrm.h“
#include?“BezierDoc.h“
#include?“BezierView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CBezierApp

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

/////////////////////////////////////////////////////////////////////////////
//?CBezierApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBezierApp?object

CBezierApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CBezierApp?initialization

BOOL?CBezierApp::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.

CMultiDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CMultiDocTemplate(
IDR_BEZIERTYPE
RUNTIME_CLASS(CBezierDoc)
RUNTIME_CLASS(CChildframe)?//?custom?MDI?child?frame
RUNTIME_CLASS(CBezierView));
AddDocTemplate(pDocTemplate);

//?create?main?MDI?frame?window
CMainframe*?pMainframe?=?new?CMainframe;
if?(!pMainframe->Loadframe(IDR_MAINframe))
return?FALSE;
m_pMainWnd?=?pMainframe;

//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);

//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(

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

?????文件??????29604??2012-04-20?20:57??Bezier\Bezier.aps

?????文件???????2783??2012-04-20?20:57??Bezier\Bezier.clw

?????文件???????4390??2011-06-09?17:09??Bezier\Bezier.cpp

?????文件???????4683??2011-06-09?16:43??Bezier\Bezier.dsp

?????文件????????520??2011-06-09?16:43??Bezier\Bezier.dsw

?????文件???????1356??2011-06-09?16:43??Bezier\Bezier.h

?????文件??????99328??2012-04-20?20:57??Bezier\Bezier.ncb

?????文件??????48640??2012-04-20?20:57??Bezier\Bezier.opt

?????文件???????2005??2012-04-20?20:56??Bezier\Bezier.plg

?????文件??????11956??2011-06-09?16:43??Bezier\Bezier.rc

?????文件???????1742??2011-06-09?16:43??Bezier\BezierDoc.cpp

?????文件???????1475??2011-06-09?16:43??Bezier\BezierDoc.h

?????文件???????4675??2011-06-09?23:47??Bezier\BezierView.cpp

?????文件???????2108??2011-06-09?18:48??Bezier\BezierView.h

?????文件???????1533??2011-06-09?16:43??Bezier\ChildFrm.cpp

?????文件???????1397??2011-06-09?16:43??Bezier\ChildFrm.h

?????文件???????2523??2011-06-09?16:43??Bezier\MainFrm.cpp

?????文件???????1542??2011-06-09?16:43??Bezier\MainFrm.h

?????文件???????4766??2011-06-09?16:43??Bezier\ReadMe.txt

?????文件???????1078??2011-06-09?16:43??Bezier\res\Bezier.ico

?????文件????????398??2011-06-09?16:43??Bezier\res\Bezier.rc2

?????文件???????1078??2011-06-09?16:43??Bezier\res\BezierDoc.ico

?????文件???????1078??2011-06-09?16:43??Bezier\res\Toolbar.bmp

?????文件????????494??2011-06-09?16:43??Bezier\Resource.h

?????文件????????208??2011-06-09?16:43??Bezier\StdAfx.cpp

?????文件???????1054??2011-06-09?16:43??Bezier\StdAfx.h

?????文件?????????72??2012-04-20?20:59??Bezier\說明.txt

?????目錄??????????0??2011-06-09?16:43??Bezier\res

?????目錄??????????0??2012-04-20?20:59??Bezier

-----------?---------??----------?-----??----

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

評論

共有 條評論