现代计算机:下半月版
現代計算機:下半月版
현대계산궤:하반월판
Modem Computer
2012年
9期
46-51
,共6页
李健斌%陈志伟%郑振耀%颜志平
李健斌%陳誌偉%鄭振耀%顏誌平
리건빈%진지위%정진요%안지평
Draw2D%PostScript%矢量图%EPS格式
Draw2D%PostScript%矢量圖%EPS格式
Draw2D%PostScript%시량도%EPS격식
Draw2D%PostScript%Vector Graphics%EPS Format
Draw2D是Eclipse平台的一组API,用于处理2D图形及图像。由于Java只支持位图的读写,而不支持矢量图的处理,因此出现不少支持Java2D矢量图导出的第三方软件包,然而还没有软件包具有Draw2D图像的矢量导出功能。通过对Draw2D软件包和PostScript语言的研究,并对EPS文件格式进行探讨,成功把Draw2D图像导出成EPS矢量图文件,为其后期处理提供便利的途径。
Draw2D是Eclipse平檯的一組API,用于處理2D圖形及圖像。由于Java隻支持位圖的讀寫,而不支持矢量圖的處理,因此齣現不少支持Java2D矢量圖導齣的第三方軟件包,然而還沒有軟件包具有Draw2D圖像的矢量導齣功能。通過對Draw2D軟件包和PostScript語言的研究,併對EPS文件格式進行探討,成功把Draw2D圖像導齣成EPS矢量圖文件,為其後期處理提供便利的途徑。
Draw2D시Eclipse평태적일조API,용우처리2D도형급도상。유우Java지지지위도적독사,이불지지시량도적처리,인차출현불소지지Java2D시량도도출적제삼방연건포,연이환몰유연건포구유Draw2D도상적시량도출공능。통과대Draw2D연건포화PostScript어언적연구,병대EPS문건격식진행탐토,성공파Draw2D도상도출성EPS시량도문건,위기후기처리제공편리적도경。
Draw2D is a group APIs in Eclipse, which deals with 2D graphics and image in Java language. Java supports bitmap perfectly, but it can't deal with vector graphics. There are some software packages that support the export of Java 2D vector graphics. However there is no library that can support the export of Draw2D vector graphics. After some research on Draw2D package and PostScript language, realizes a Java library of exporting Draw2D graphics into Encapsulated PostScript, which is vector graphics and good for post editing.