Hi,

On Tue, 2005-08-23 at 08:09 +0200, Steiner, Dominik wrote:

> So I’m wondering if I’m just confused and trying to do the impossible
> or if someone has practical design hints for batik in general and a
> svg draw program in special.

We have been created general purpose SVG Drawing program using Batik. In
MVC term, basicly we use this:
- Model = SVGDocument itself
- Controller = Our own controller
- View = JSVGCanvas

Unfortunately we could not give you our source code (it is Commercial),
but you could look at our API (javadoc) available at
http://www.kiyut.com/products/sketsa/index.html under developer
section. 

There is also open source general purpose SVG Drawing Program called
GLIPSGrafiti available from sourceforge which use Batik as well.

As far as we know, for layered stuff you mention, unless you are build
special purpose svg drawing program this is very hard to achieve since
the user could change the DOM or the SVG XML source freely, but maybe
you could use proprietary namespace to indicate a <g> or <svg> element
as a layer rather than simply grouping element.

Hopefully the information above could benefits you.

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to