(北京航空航天大學 計算機學院,北京 100083)
摘 要:采用瀏覽器/服務器(B/S)體系結構開發了Web矢量圖形編輯系統(Web Vector Graphics Editing System, WVGES),為使圖形編輯更加直觀易用,設計了基于控制點的編輯方式,可通過拖動圖形控制點實現圖形編輯。設計了定義圖形模板的方法,解決了編輯具有可變屬性的標準圖形的問題。利用Dojox.gfx繪圖包,較好地解決了圖形顯示的跨瀏覽器兼容問題,更好地滿足了異構用戶的需求。WVGES編輯的圖形符號可應用于WebGIS等系統。
關鍵字:gfx; B/S; 圖形編輯; 預定義圖形; WebGIS
中圖分類號:TP311.52 文獻標識碼:A
Web Vector Graphics Editing based on handle point and its application
WANG Wen-Bo
(School of Computer Science and Engineering, Beihang University, Beijing 100083)
Abstract: Web Vector Graphics Editing System (WVGES) is developed using B/S architecture. In WVGES, users can easily edit vector graphics by dragging control points on shapes. WVGES supports predefined shapes by providing a method to define shape template file. WVGES utilized dojox.gfx to solve the problem of cross-browser compatibility. Vector graphics made in WVGES can be used in WebGIS, etc.
Key words: gfx; B/S; vector graphics editing; predefined shape, WebGIS
參考文獻:
[1] Rynson W H Lau, Frederick Li, Tosiyasu L Kunii, et al. Emerging Web Graphics Standards and Technologies [J]. IEEE Computer Graphics and Applications, 2003, 23(1) : 66-75.
[2] 甘早斌,李志欣,彭彬. 矢量圖形編輯系統的數據模型及其實現. 計算機工程與科學, 2005, 27(6):45-47.
[3] J. Ferraiolo. Scalable vector graphics (SVG) 1.0 specification. W3C Working Draft, December 1999.
[4] Shuping Cao , John Grundy , John Hosking , Hermann Stoeckle , Ewan Tempero, An Architecture for Generating Web-Based, Thin-Client Diagramming Tools, Proceedings of the 19th IEEE international conference on Automated software engineering, p.270-273, September 20-24, 2004.
[5] Eugene Lazutkin, Kun Xi, Chris Mitchell. Dojox.gfx[K/OL]. http://dojotoolkit.org/reference-guide/dojox/gfx.html.
[6] OGC. Symbology Encoding Implementation Specification [OL] .OGC05-077r4. 2006.
作者簡介:
王文波(1987-),男,山東臨沂人,碩士研究生,主要研究方向:計算機軟件與理論、web服務。