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

資源簡介

C++ MFC開發的二維繪圖系統,主要實現繪制簡單的幾何圖形,設置功能有線條的設置,顏色設置,文字輸入,文件打開和保存等等功能

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“draw.h“

#include?“MainFrm.h“
#include?“drawDoc.h“
#include?“drawView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CDrawApp

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

/////////////////////////////////////////////////////////////////////////////
//?CDrawApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDrawApp?object

CDrawApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CDrawApp?initialization

//繪圖工具的初始化
BOOL?CDrawApp::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(CDrawDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CDrawView));
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;
}


/////////////////////////////////////////////////////////////////////////////
//?CAboutDlg?dialog?used?for?App?About

//設置Dialog的屬性
class?CAboutDlg?:?public?CDialog
{
public:
//為Dia

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\
?????文件???????92736??2011-12-02?13:50??計算機圖形學繪圖工具源代碼\draw.aps
?????文件????????2914??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\draw.clw
?????文件????????4271??2011-11-17?08:59??計算機圖形學繪圖工具源代碼\draw.cpp
?????文件????????3570??2011-10-27?21:15??計算機圖形學繪圖工具源代碼\draw.dsp
?????文件?????????533??2008-11-30?18:50??計算機圖形學繪圖工具源代碼\draw.dsw
?????文件????????1163??2008-11-30?19:36??計算機圖形學繪圖工具源代碼\draw.h
?????文件??????173056??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\draw.ncb
?????文件???????55808??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\draw.opt
?????文件????????2383??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\draw.plg
?????文件???????13209??2011-11-17?08:51??計算機圖形學繪圖工具源代碼\draw.rc
?????文件?????????329??2011-11-17?09:54??計算機圖形學繪圖工具源代碼\draw.sln
?????文件????????8192??2011-11-17?21:16??計算機圖形學繪圖工具源代碼\draw.suo
?????文件????????8753??2011-10-27?08:42??計算機圖形學繪圖工具源代碼\draw.vcproj
?????文件????????1403??2011-10-27?08:49??計算機圖形學繪圖工具源代碼\draw.vcproj.A28.a58.user
?????文件????????1832??2011-11-17?08:58??計算機圖形學繪圖工具源代碼\drawDoc.cpp
?????文件????????1453??2008-11-30?18:50??計算機圖形學繪圖工具源代碼\drawDoc.h
?????文件???????12235??2011-11-17?22:36??計算機圖形學繪圖工具源代碼\drawView.cpp
?????文件????????2423??2008-12-06?17:36??計算機圖形學繪圖工具源代碼\drawView.h
?????文件????????2765??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\MainFrm.cpp
?????文件????????1581??2008-11-30?18:50??計算機圖形學繪圖工具源代碼\MainFrm.h
?????目錄???????????0??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\Release\
?????文件???????15807??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\Release\draw.obj
?????文件?????5621908??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\Release\draw.pch
?????文件????????9460??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\Release\drawDoc.obj
?????文件???????36031??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\Release\drawView.obj
?????文件???????13669??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\Release\MainFrm.obj
?????文件??????102400??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\Release\OilDrawing.exe
?????文件???????70032??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\Release\OilDrawing.res
?????文件???????13834??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\Release\setting.obj
?????文件?????????822??2011-12-02?13:52??計算機圖形學繪圖工具源代碼\Release\StdAfx.obj
............此處省略11個文件信息

評論

共有 條評論