资源简介
计算机图形学 算法 直线,圆,椭圆,裁剪,填充的所有算法
代码片段和文件信息
// 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游戏编程-人机博弈王小春 编著
- 下一篇:编译原理词法分析实验
相关资源
- 计算机图形学简单多边形裁剪程序
- B样条曲线生成算法,用VC++加OpenGL写的
- 不规则三角网生长算法
- 点缓冲区算法
- 安徽大学操作系统实验八基于扫描的
- 安徽大学操作系统实验四主存空间的
- 计算机图形学 大作业 多功能图形学程
- 用C++stl与QT实现的A*算法Demo
- 改进的Hough与梯度直方图的人眼定位算
- apriori算法c++程序实现,附测试数据以
- 操作系统——银行家算法
- MFC多边形画法--计算机图形学
- MC算法C++实现 源代码
- Apriori和FP-Tree算法图形化实现+两个测
- k-means算法 基于c++语言实现
- 图像去雾算法源代码c++
- 基于混沌算法的图像加密系统C++源码
- 人工智能小游戏-基于alpha-beta剪枝算法
- 计算机图形学 visual c++ 6.0 实时动画有
- 计算机图形学 visual c++ 6.0 三维变换有
- 计算机图形学基于opengl图形变换源代
- C++实现A*算法十五数码问题
- 图形学实验 多边形的扫描转换 扫面线
- 常用算法程序集(C语言描述) (PD
- 高级加密标准 AES (含AES的数学基础,
- 进程调度模拟算法C++实现
- 八数码问题数字华容道,九宫格深度
- Visual C++ 常用数值算法集
- Fast ANN神经网络算法源码
- 计算机图形学大作业简易绘图板mfc
评论
共有 条评论