1 / 26
文档名称:

毕业设计(论文)-一种矢量图形工具的设计与实现.doc

格式:doc   页数:26页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

毕业设计(论文)-一种矢量图形工具的设计与实现.doc

上传人:3346389411 2013/4/13 文件大小:0 KB

下载得到文件列表

毕业设计(论文)-一种矢量图形工具的设计与实现.doc

文档介绍

文档介绍:一种矢量图形工具的设计与实现
摘要
矢量图形系统的开发是利用VC++开发地理信息系统(GIS系统)的重点和难点。利用VC++进行矢量图形系统的开发主要是利用VC++的设备环境DC提供的功能进行图形绘制和采用面向对象的方法来组织和管理矢量图形数据。
该论文分析了矢量图形系统的基本结构,采用了面向对象的思想,设计了图形对象的类继承层次,其中基类对象又派生出直线、圆弧(圆)和曲线,文本等类,给出了矢量图形系统类的组织结构。并且从整体功能结构到单独的类的具体实现和视图的实现,鼠标交互绘制,图形操作,图形选中、移动、删除等各个方面开发实现了一个基本的矢量图形工具系统。完成了处理点、线、圆、面、标注文本等图形元素的功能,并具有处理图例(即图形块)的能力;具有相对完善的图形操作功能,方便的图形I/O功能,以及图形移动、删除的功能。
关键词:面向对象;图形操作;I/O;
The Design and Realization of a Vector Graphics Tool
Abstract
The Vector Graphics system is one of the most important and difficult parts for GIS(Geographical Information System) development with VC++. The Vector Graphics system mainly includes implementing different drawing functions under the environment provided by VC + + , organizing and managing vector-based graphic data by means of object-based methods.
The idea of object-oriented is introduced in this paper, the geographic elements in the system are classified into line, arc(circle) ,curve and text. The basic classes’ framework is proposed by analyzing the basic structure of the vector graphics system. A basic vector graphics tool system is designed and realized from the kind anization, the view’s realization, the mouse’s alternately draws up, the graphics operation, the graph selected, migration, deletion, and so on. Different drawing functions are implemented, including spot, line, circle, surface and note text. The system has the ability of processing chart of symbols (namely graph block). The realizations of relative consummation graphics operation function and facilitates graph I/O function is given, as well as graph migration, deletion function.
Key words : Object-oriented; Graph operation; I/O;
目录
论文总页数:25页
1 引言 1
课题背景及研究的目的和意义 1
矢量图形系统 1
课题研究方法 1
2 总体设计思想 2
整体功能模块的设计 2
功能模块说明 2
3 矢量图形结构 3
基类的组织 3
视图的实现 5
实际坐标与逻辑坐标的转换 5
图形元素的绘制功能 6
图形操作方面 6
屏幕状态的记录 6
边界矩形 7
点选的判断和特殊显示 7
图形的移动 9
提高图形重画速度 9
4 矢量图形工具系统的设计 10
类的实现 10