========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : Graphics
========================================================================
AppWizard has created this Graphics application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your Graphics application.
Graphics.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
Graphics.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CGraphicsApp application class.
Graphics.cpp
This is the main application source file that contains the application
class CGraphicsApp.
Graphics.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
Graphics.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\Graphics.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file Graphics.rc.
res\Graphics.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CFrameWnd and controls all SDI frame features.
res\Toolbar.bmp
This bitmap file is used to create tiled images for the toolbar.
The initial toolbar and status bar are constructed in the CMainFrame
class. Edit this toolbar bitmap using the resource editor, and
update the IDR_MAINFRAME TOOLBAR array in Graphics.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
GraphicsDoc.h, GraphicsDoc.cpp - the document
These files contain your CGraphicsDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CGraphicsDoc::Serialize).
GraphicsView.h, GraphicsView.cpp - the view of the document
These files contain your CGraphicsView class.
CGraphicsView objects are used to view CGraphicsDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named Graphics.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
一个集成的图形界面的程序,可调用每一次作业子程序。一、调用画点的函数,用DDA、中点算法画直线和中点算法画圆和椭圆。二、多边形扫描转换算法和区域填充算法实现(扫描线算法为必做,基于求余运算的边缘填充和边标志算法为任选;基于种子的区域填充采用4连通区域的递归种子填充算法,或扫描线种子填充算法,要求种子点(x,y)可交互输入)。三、线段裁剪和多边形裁剪算法的动画演示实现。(两种线段裁剪算法和H-S多边形逐边裁剪算法)多边形裁剪算法的动画演示要求先画出一个封闭的多边形,再画矩形的裁剪窗口,然后选择裁剪按钮(或命令),按下“上边裁剪”按钮(或执行“上边裁剪”命令),多边形相对裁剪窗口的上边进行裁剪,显示上边裁剪后的多边形,依此进行其它各边裁剪。四、用动画实现二维图形变换的各种算法,实现对指定形体的平移、旋转和缩放。(包括类似自行车行走和绕固定点旋转的自旋转物体动画。)五、简单三维图形系统:凸多面体的建模、透视投影,隐藏面的消除及基本图形变换(平移、旋转、缩放)。六、交互式Bezier曲线的输入绘制程序实现 PS:请用VC6打开程序!程序中不包含DEBUG文件。附有操作指南。
资源推荐
资源详情
资源评论
收起资源包目录
Graphics.rar (38个子文件)
Graphics
ReadMe.txt 4KB
StdAfx.h 1KB
Vertex_Count.h 1KB
Graphics.dsw 539B
Graphics.clw 4KB
Graphics.aps 51KB
res
Toolbar.bmp 1KB
Graphics.ico 3KB
Graphics.rc2 400B
GraphicsDoc.ico 1KB
Thumbs.db 7KB
DrawDLG.h 2KB
Vertex_Count.cpp 1KB
Matrix.cpp 1KB
Graphics.h 1KB
Graphics.opt 54KB
MainFrm.cpp 2KB
GraphicsView.h 7KB
GraphicsDoc.cpp 2KB
Matrix2.cpp 2KB
Matrix2.h 1017B
Graphics.rc 15KB
MainFrm.h 1KB
GraphicsDoc.h 1KB
VertexCount.h 0B
Matrix.h 828B
DrawDLG.cpp 12KB
Myclass.h 915B
resource.h 3KB
Graphics.cpp 4KB
Myclass.cpp 3KB
GraphicsView.cpp 52KB
VertexCount.cpp 0B
Graphics.dsp 5KB
StdAfx.cpp 210B
Graphics.ncb 401KB
Graphics.plg 998B
系统简要使用指南.jpg 48KB
共 38 条
- 1
ling2091
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页