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

  • 大小: 98KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-08
  • 語言: 其他
  • 標簽: OpenGL??漢字??

資源簡介

OpenGL并沒有直接提供顯示文字的功能,并且,OpenGL也沒有自帶專門的字庫。因此,要顯示文字,就必須依賴操作系統所提供的功能了

資源截圖

代碼片段和文件信息

//?3DFont.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“3DFont.h“

#include?“MainFrm.h“
#include?“3DFontDoc.h“
#include?“3DFontView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMy3DFontApp

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

/////////////////////////////////////////////////////////////////////////////
//?CMy3DFontApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy3DFontApp?object

CMy3DFontApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CMy3DFontApp?initialization

BOOL?CMy3DFontApp::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.
//?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(CMy3DFontDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CMy3DFontView));
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();

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

?????文件???????4813??1999-06-27?21:43??漢字顯示\3DFont.001

?????文件??????30920??2003-10-05?01:13??漢字顯示\3DFont.aps

?????文件???????3524??2003-10-05?01:35??漢字顯示\3DFont.clw

?????文件???????4219??1999-06-27?07:33??漢字顯示\3DFont.cpp

?????文件???????4842??2003-10-05?01:17??漢字顯示\3DFont.dsp

?????文件????????535??2003-09-28?11:13??漢字顯示\3DFont.dsw

?????文件?????151618??2003-10-05?01:32??漢字顯示\3DFont.exe

?????文件???????1376??1999-06-27?07:33??漢字顯示\3DFont.h

?????文件???????8017??1999-06-27?21:43??漢字顯示\3DFont.mak

?????文件??????99328??2003-10-05?01:35??漢字顯示\3DFont.ncb

?????文件?????136704??2003-10-05?01:35??漢字顯示\3DFont.opt

?????文件???????4858??2003-10-05?01:32??漢字顯示\3DFont.plg

?????文件??????11922??2003-10-04?18:38??漢字顯示\3DFont.rc

?????文件???????1776??1999-06-27?07:33??漢字顯示\3DFontDoc.cpp

?????文件???????1497??1999-06-27?07:33??漢字顯示\3DFontDoc.h

?????文件??????10352??2003-10-05?01:32??漢字顯示\3DFontView.cpp

?????文件???????2088??2003-10-05?01:27??漢字顯示\3DFontView.h

?????文件??????11230??2003-10-04?18:38??漢字顯示\GLFont.cpp

?????文件???????4606??2003-10-04?18:31??漢字顯示\GLFont.h

?????文件???????1844??1999-06-27?07:37??漢字顯示\MainFrm.cpp

?????文件???????1617??1999-06-27?07:37??漢字顯示\MainFrm.h

?????文件???????4049??1999-06-27?07:33??漢字顯示\ReadMe.txt

?????文件???????1078??1999-06-27?07:33??漢字顯示\res\3DFont.ico

?????文件????????398??1999-06-27?07:33??漢字顯示\res\3DFont.rc2

?????文件???????1078??1999-06-27?07:33??漢字顯示\res\3DFontDoc.ico

?????文件???????1078??1999-06-27?07:33??漢字顯示\res\Toolbar.bmp

?????文件????????734??1999-06-30?17:11??漢字顯示\resource.h

?????文件????????204??1999-06-27?07:33??漢字顯示\StdAfx.cpp

?????文件????????987??1999-06-27?07:33??漢字顯示\StdAfx.h

????..AD...?????????0??2007-06-26?17:02??漢字顯示\res

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

評論

共有 條評論