首页 | 本学科首页   官方微博 | 高级检索  
     检索      

地图制图软件中图形编辑Undo/Redo功能的实现
引用本文:杨勇,叶民盛,刘敏,张旭,李霖.地图制图软件中图形编辑Undo/Redo功能的实现[J].测绘与空间地理信息,2006,29(5):47-50.
作者姓名:杨勇  叶民盛  刘敏  张旭  李霖
作者单位:1. 武汉大学,资源与环境科学学院,湖北,武汉,430079
2. 江西师范大学,地理科学学院,江西,南昌,330000
摘    要:地图制图软件中,图形编辑功能与其撤销/重做(Undo/Redo)是必不可少的。本文详细说明了基于Ora-cle数据库的地图制图软件中编辑模块的数据模型及其定义,提出了图形编辑的一般公式。并在此公式的基础上,提出了一种高效的Undo/Redo执行原理:在编辑过程中保存编辑类型和参数,在执行Undo/Redo时提取数据编辑类型和参数进行处理,并给出了具体的实现代码。

关 键 词:图形编辑  Undo  Redo  编辑类型  编辑参数
文章编号:1672-5867(2006)05-0047-04
修稿时间:2006年4月11日

Graphics Editing in Mapping Software and Implementation of its Undo and Redo Functionality
YANG Yong,YE Min-sheng,LIU Min,ZHANG Xu,LI Lin.Graphics Editing in Mapping Software and Implementation of its Undo and Redo Functionality[J].Geomatics & Spatial Information Technology,2006,29(5):47-50.
Authors:YANG Yong  YE Min-sheng  LIU Min  ZHANG Xu  LI Lin
Abstract:Functionality of graphics editing and Undo/Redo pl ays an essential part in mapping software.This paper is written for this topic and can be divided into two main parts.In the first part,a data model is descr ibed in great detail for editing module in Oracle-based mapping software,and l ater its definition,and a general formula for graphics editing are put forward as well.Based on this formula,an effective Undo/Redo implementation principle is proposed in the last part,which enables saving editing types and correspondi ng parameters,and also can extract them.Specific programming code is also incl uded in this part.
Keywords:functionality of graphics  Undo  Redo  type of fu nctionality  parameter of functionality
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号