Transcode SVG files to compiled java painting code
- 资源大小:4.18 MB
- 上传时间:2021-06-29
- 下载次数:0次
- 浏览次数:1次
- 资源积分:1积分
-
标 签:
资 源 简 介
Welcome to svg2java
The purpose of this library is to load SVG files and
generate java code out of it. Currently I have implemented
a transcoder to convert the SVG files to Java2D code.
Why this project
What is the benefit of this? When you want to use
scalable graphics in your code, e.g. icons that you want
use in different sizes, SVG would be a good way to go.
But to use SVG graphics in java you would have to bundle
a SVG library like Batik or Salamander that have a big
fingerprint and may bloat your product.
To transcode the graphics may give you the advantage
of scalable graphics without this dependency. It has
also the advantage that the painting is no longer
interpreted but compiled painting code that will be faster.
The size of the generated classes is nearly the same as the
size of the original SVG files put in a jar or with pac200
you might even save some space there too.
So transcoding the files gives you all the bene
文 件 列 表
svg2java_20101125.jar
batik-all.jar
jsyntaxpane-0.9.5-b29.jar
xerces_2_5_0.jar
xml-apis-ext.jar
xml-apis.jar
license.txt
readme.txt