Hi Andres,
I am using Batik on a Eclipse RCP Application, without Holongate
plugins. It works perfectly for displaying static SVG´s.
How do you define 'static'? No animations? Or no interpretations such
as rotation, zoom and et cetera?
There are some minor problems, like for example the SVG document does
not resize properly when you change the size of the SWT window, so you
need to capture the SWT resize event and then reset the layout of your
AWT components.
This will likely be an issue, so thanks for the heads up.
Now, to compatibility, there is a conflict between the SWT thread and
the AWT thread in Mac OS X, so it is not possible to run SWT-AWT
applications under Mac OS X. This is an issue for any type of
application that needs to access the AWT thread from a SWT application
on a mac. I think that even with Holongate, this is still a conflict for
SWT applications, but unless the Mac is one of your target platforms,
you are on the clear.
I planned on coding this purely in SWT, not using any AWT if I can help
it. And yes, the Mac is one of the target platforms. Its a game, and
we all know the Mac could stand to have a few more games around.
Regards,
Andres Tousssaint
On Oct 16, 2005, at 3:21 PM, John Jones wrote:
How adaptable is the Batik toolkit to working in SWT-based
applications? I have seen a project by Holongate.org to build a
'bridge' to do this, but from the people that know Batik best... what
does and does not work in SWT?
I haven't investigated deeply, so the limitations/incompatibilities
may be limited to the Java2D <--> SWT interaction.
If anyone has any insight, I'd be glad to hear it.
John
BlackRookSix of OpenWarSim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]