Please wait a minute...
Chinese Journal of Engineering Design  2012, Vol. 19 Issue (1): 49-52    DOI:
    
The Design and implementation of expansible vector graphics editor component
 XIA  Ping-Ping1, LV Tai-Zhi 2
1. Department of Information Engineering, Jiangsu Maritime Institute, Nanjing 211170, China;
2. College of Computer Science and Technology, Nanjing University of Science and Technology, Nanjing 210094, China
Download: HTML     PDF(2911KB)
Export: BibTeX | EndNote (RIS)      

Abstract  Vector graphics are widely used, but lack of dynamically extensible library with the primitive components of vector graphics editor. It has become an important problem that how to design reusable components to enhance the design efficiency and improve the design quality. After analyzing the needs of graphic editing components, we made the most of the Java platform and the reflection mechanism to build the vector graphics system, which included the vital technologies of composite graphics' creating, displaying, saving, zooming, dragging, roaming, Hawkeye, etc, and specify the principles of the design ideas and architecture. The designed vector graphics editor components can be expanded and edited with the existed and derived primitive graphics components.

Key wordsvector graphics      scalable      component      design pattern     
Published: 15 February 2012
Cite this article:

XIA Ping-Ping, LV Tai-Zhi . The Design and implementation of expansible vector graphics editor component. Chinese Journal of Engineering Design, 2012, 19(1): 49-52.

URL:

https://www.zjujournals.com/gcsjxb/     OR     https://www.zjujournals.com/gcsjxb/Y2012/V19/I1/49


可扩展矢量图形编辑组件设计及其实现

矢量图形应用非常广泛,但是缺少可动态扩展图元库的矢量图形编辑组件,如何设计可重用矢量图形组件已成为提高设计效率、改进设计质量的重要课题之一.通过对图形编辑组件需求的分析,利用Java平台和反射机制构建矢量图形的方法,包括复合图元创建,图元的显示和保存,图元的缩放和拖拽,漫游和鹰眼等关键技术,规范了设计思想和设计架构.设计出矢量图形编辑组件,可以通过已有图元的组合和派生,达到可扩展、可编辑的效果.

关键词: 矢量图形,  可扩展,  组件,  设计模式 
[1] LAI Quan-bao, TAO Qing, HU Yu-ge, MENG Qing-feng. Multi-gesture accurate recognition based on artificial fish swarm algorithm-extreme learning machine[J]. Chinese Journal of Engineering Design, 2021, 28(6): 671-678.
[2] CHEN Zhao-ming, XU Ze-yu, ZOU Jing-song, ZHAO Ying, SHI Ming-quan. Hydraulic system design of multi-functional laying trolley equipment in tunnel construction and its response characteristic analysis[J]. Chinese Journal of Engineering Design, 2019, 26(1): 116-122.
[3] ZHANG Kun, DING Xiao-hong, NI Wei-yu, WANG Hai-hua. The component layout design method for automotive seat skeleton[J]. Chinese Journal of Engineering Design, 2015, 22(2): 166-171.
[4] LIU Hong-jun, BI Feng-rong, ZHANG Jian. Separation and identification of noise source at wheel loader's cab[J]. Chinese Journal of Engineering Design, 2015, 22(1): 66-71.
[5] BAI Jin-wei, NIU Wen-tie. Components layout design of complex manifold block with both plate valve and cartridge valve[J]. Chinese Journal of Engineering Design, 2014, 21(6): 589-595.
[6] YANG Xu, GONG Guo-fang, YANG Hua-yong,CHEN Kui,WANG Lin-tao. Design and test analysis of rotary electro hydraulic control system for  a segment assembly test bed[J]. Chinese Journal of Engineering Design, 2014, 21(2): 180-184.
[7] WU Shu-liang, CHEN Jian-hong, YANG Shan. Optimization of bolting scheme based on combination of principal component analysis and BP neural network[J]. Chinese Journal of Engineering Design, 2012, 19(2): 150-155.
[8] ZHANG Li. Research of configuration design for sewing machine[J]. Chinese Journal of Engineering Design, 2011, 18(4): 317-320.
[9] XU Bao-Hua, LI Hong-Ru. Fault prognostics for hydraulic components in missile launcher[J]. Chinese Journal of Engineering Design, 2007, 14(6): 449-452.
[10] YANG Ke-Ji, ZHANG Bao-Long. Theoretical research on ultrasonic radiation force of micro-components[J]. Chinese Journal of Engineering Design, 2004, 11(6): 316-320.
[11] HUANG Huan, MIAO Bing-Qi, SHI Gao-Ping. Two-stage component model reduction analysis of flexible multibody stimulation[J]. Chinese Journal of Engineering Design, 2004, 11(6): 347-350.
[12] ZHANG Yi-Min, HE Xiang-Dong, LIU Qiao-Ling, WEN Bang-Chun. Reliability-based robust design of mechanical components with arbitrary distribution param eters,Part 1:theory[J]. Chinese Journal of Engineering Design, 2004, 11(5): 233-237.
[13] JIA Qiu-Hong, LIAO Lin-Qing, ZHENG Zheng-Yu, YANG Xiang-Yu, DENG Bin. Research on fuzzy reliability design method for motorcycle components[J]. Chinese Journal of Engineering Design, 2004, 11(5): 273-276.
[14] MIAO Bing-Qi, SHI Gao-Ping, HUANG Huan. Selection of component modes for multi-flexible system[J]. Chinese Journal of Engineering Design, 2004, 11(4): 205-210.
[15] WANG Da-Xiong. Research on power consumption reduction in designing portable ECG monitor based on EMPU[J]. Chinese Journal of Engineering Design, 2004, 11(2): 99-102.