1、 一种矢量图形工具的设计与实现一种矢量图形工具的设计与实现 摘摘 要要 矢量图形系统的开发是利用 VC+开发地理信息系统(GIS 系统)的重点和难 点。 利用 VC+进行矢量图形系统的开发主要是利用 VC+的设备环境 DC 提供的 功能进行图形绘制和采用面向对象的方法来组织和管理矢量图形数据。 该论文分析了矢量图形系统的基本结构,采用了面向对象的思想,设计了图 形对象的类继承层次, 其中基类对象又派生出直线、 圆弧(圆)和曲线, 文本等类, 给出了矢量图形系统类的组织结构。 并且从整体功能结构到单独的类的具体实现 和视图的实现,鼠标交互绘制,图形操作,图形选中、移动、删除等各个方面开 发实现了
2、一个基本的矢量图形工具系统。完成了处理点、线、圆、面、标注文本 等图形元素的功能,并具有处理图例(即图形块)的能力;具有相对完善的图形操 作功能,方便的图形 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)
3、 development with VC+. The Vector Graphics system mainly includes implementing different drawing functions under the environment provided by VC + + 6.0, organizing and managing vector-based graphic data by means of object-based methods. The idea of object-oriented is introduced in this paper, the ge
4、ographic 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 of organization, the views realization, the mouses alternately draws up, the graphics operation, the graph selected, migration, deletion, and so on. Different drawing functions are implemented, including spot, line, circle,