|
Yes,
there are some classes, but they are missing some. Look for java.awt.geom
or java.awt.color. According to the Personal Java spec, they are
missing. If you can find these packages, then you can probably port
it. I would be happy to help with a port, if it is possible without
rewriting Batik.
Anthony
But when i install Jeode VM it comes with some
java.awt and java2D classes. Are them incomplete? I just can not display any
Java2D interface in Pocket PC?
Nuno Andr� Faria SIG Lab, DI Universidade do Minho Braga,
Portugal
----- Original Message -----
Sent: Thursday, April 18, 2002 11:32
PM
Subject: RE: Batik and jdk1.1 (to
Anthony)
Just wondering if there is anyway to write wrapper classes for all
the drawing instructions of Batik, so we can easily port it to other
platforms or languages such as .NET in C# using GDI+
-
Tangent
AFAIK, you can not run Batik on the Pocket PC. SVGCanvas
is not the problem and swing is not the problem. The problem is that
Batik uses Java2D, and I know of no implementation that will run on Pocket
PC. You would have to implement hundreds of classes
like Rectangle2D, Line2D, etc... You can maybe get Batik to read
SVG, but it will not be able to display the image. You may ask the
developers if the rendering code is easy to rewrite, but I don't think
so. It is the gvt (if I remember correctly) classes that
will cause the most problems. BTW, even if you don't draw to the
display, you still need Java2D internally.
The only options I know that will work on a handheld is to replace
Pocket PC.
Anthony
So, you are saying to me that is no away to
run the batik modules in pocket pc?
(look i'm not interested in run the
SVGCanvas i can make another canvas without swing if it's
possible!!)
Nuno Andr� Faria SIG Lab, DI Universidade do Minho Braga,
Portugal
----- Original Message -----
Sent: Thursday, April 18, 2002
4:17 PM
Subject: RE: Batik and
jdk1.1
Sure, but the problem is that no one could know correctly guess
everyone's needs apriori. I know that IBM's MicroAge tool for
developing on palm for power pc, automatically will create a jar with
just those classes that you reference. I think they have support
for pocketpc too, but they don't really support swing. If you
want to do swing on PPC, you need Personal Java and you have to modify
it. I'll try to remember and get a link from home regarding this. But
here is another problem, you think these jars,are big? Wait
until you look at Swing, which the JSVGCanvas depends on! Not to
mention that the StrongArm is no where near as powerful as your
desktop cpu.
Well anyhow, email me if you want me to find that
reference for you, and good luck with you project.
:)
I'd say very painfull. for example, the
Canvas is very nice for applets, but with 2Mb almost no one is going
to use it that way...perhaps a small distribution would make
sense...
You don't need all the jar files, it would be possible
(although a little painful) to also strip down the jars just to
those classes that you actually use.
regarding this, I noted that the full
batik jars are 2Mb, so perhaps that's a problem for pocket. is
there any way to reduce the size of the batik distro
?
thanks
Could you specify the core modules
you are interested in using?
Mike
Hi ppl,
Can use the batik core modules
and low level modules with jdk1.1?
My purpose
is to create a SVG Viewer for Pocket PCs and i
only know the Jeode Java virtual machine for Pocket PC
and it only suports (i guess!) jdk1.1.
I appreciate all the help u can
give to me namely if there is any newer VM for
pocket...
Thanks,
Nuno Andr� Faria SIG Lab,
DI Universidade do Minho Braga,
Portugal
|