资源简介
计算机图形学 算法 直线,圆,椭圆,裁剪,填充的所有算法

代码片段和文件信息
// MainFrm.cpp : implementation of the CMainframe class
//
#include “stdafx.h“
#include “计算机图形学作业.h“
#include “MainFrm.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMainframe
IMPLEMENT_DYNCREATE(CMainframe CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code !
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
static UINT indicators[] =
{
ID_SEPARATOR // status line indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};
/////////////////////////////////////////////////////////////////////////////
// CMainframe construction/destruction
CMainframe::CMainframe()
{
// TODO: add member initialization code here
}
CMainframe::~CMainframe()
{
}
int CMainframe::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CframeWnd::OnCreate(lpCreateStruct) == -1)
return -1;
if (!m_wndToolBar.CreateEx(this TBstyle_FLAT WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed to create toolbar\n“);
return -1; // fail to create
}
if (!m_wndStatusBar.Create(this) ||
!m_wndStatusBar.SetIndicators(indicators
sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed to create status bar\n“);
return -1; // fail to create
}
// TODO: Delete these three lines if you don‘t want the toolbar to
// be dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
return 0;
}
BOOL CMainframe::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CframeWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CMainframe diagnostics
#ifdef _DEBUG
void CMainframe::AssertValid() const
{
CframeWnd::AssertValid();
}
void CMainframe::Dump(CDumpContext& dc) const
{
CframeWnd::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CMainframe message handlers
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 20059 2009-12-13 12:33 计算机图形学作业\Debug\MainFrm.obj
文件 105817 2009-12-13 12:33 计算机图形学作业\Debug\StdAfx.obj
文件 230400 2010-01-22 10:16 计算机图形学作业\Debug\vc60.idb
文件 372736 2010-01-22 10:16 计算机图形学作业\Debug\vc60.pdb
文件 155754 2010-01-22 10:16 计算机图形学作业\Debug\计算机图形学作业.exe
文件 461828 2010-01-22 10:16 计算机图形学作业\Debug\计算机图形学作业.ilk
文件 22918 2009-12-13 13:37 计算机图形学作业\Debug\计算机图形学作业.obj
文件 5501520 2009-12-13 12:33 计算机图形学作业\Debug\计算机图形学作业.pch
文件 517120 2010-01-22 10:16 计算机图形学作业\Debug\计算机图形学作业.pdb
文件 7836 2010-01-22 10:15 计算机图形学作业\Debug\计算机图形学作业.res
文件 14724 2009-12-13 12:33 计算机图形学作业\Debug\计算机图形学作业Doc.obj
文件 103962 2010-01-22 10:16 计算机图形学作业\Debug\计算机图形学作业View.obj
文件 2517 2009-12-13 12:22 计算机图形学作业\MainFrm.cpp
文件 1581 2009-12-13 12:22 计算机图形学作业\MainFrm.h
文件 4453 2009-12-13 12:22 计算机图形学作业\ReadMe.txt
文件 1078 2009-12-13 12:22 计算机图形学作业\res\Toolbar.bmp
文件 1078 2009-12-13 12:22 计算机图形学作业\res\计算机图形学作业.ico
文件 408 2009-12-13 12:22 计算机图形学作业\res\计算机图形学作业.rc2
文件 1078 2009-12-13 12:22 计算机图形学作业\res\计算机图形学作业Doc.ico
文件 1872 2010-01-22 10:15 计算机图形学作业\Resource.h
文件 218 2009-12-13 12:22 计算机图形学作业\StdAfx.cpp
文件 1054 2009-12-13 12:22 计算机图形学作业\StdAfx.h
文件 46508 2010-01-22 10:16 计算机图形学作业\计算机图形学作业.aps
文件 3062 2010-01-22 10:16 计算机图形学作业\计算机图形学作业.clw
文件 4193 2009-12-13 12:22 计算机图形学作业\计算机图形学作业.cpp
文件 4785 2009-12-13 12:22 计算机图形学作业\计算机图形学作业.dsp
文件 557 2009-12-13 12:22 计算机图形学作业\计算机图形学作业.dsw
文件 1348 2009-12-13 12:22 计算机图形学作业\计算机图形学作业.h
文件 107520 2010-01-22 10:16 计算机图形学作业\计算机图形学作业.ncb
文件 48640 2010-01-22 10:16 计算机图形学作业\计算机图形学作业.opt
............此处省略12个文件信息
- 上一篇:PC游戏编程-人机博弈王小春 编著
- 下一篇:编译原理词法分析实验
相关资源
- CCS FFT c语言算法
- 小波变换算法 c语言版
- 3des加密算法C语言实现
- DES加密算法C语言实现
- 线性回归算法c语言实现
- 基于C语言的模拟退火算法
- C语言实现的DES对称加密算法
- 用VC6.0实现多边形扫描线填充算法
- c语言编写的货郎担算法
- Em算法(使用C++编写)
- STM32烧写算法flash包
- 永磁同步电机的FOC控制算法
- Proteus仿真:PID算法输出.rar
- 一个模糊PID温度控制算法源代码
- 交互式计算机图形学 第六版 OpenGL源代
- 经典滤波算法
- KMP算法C语言程序
- SVM算法实现(源码+文档)
- 算法A律U律实现
- 人工蜂群算法.docx
- BlowFish加密算法
- C语言常用算法源代码
- c++数组快排算法
- 算法表达式求值.cpp
- PID算法.c
- QR二维码C++源码 算法实现
- 基于opencv漫水填充算法综合
- 信息学奥赛一本通——算法部分
- 银行家算法分配资源的模拟实现(m
- C语言程序设计50例.docx
评论
共有 条评论