I'm in the process of writing a simple drawing program using Batik. My
little program will focus on technical drawing, so precise
construction of shapes is important.

I would like to implement both "snaps" and "selection" for my
JSVGCanvas. I've been reading through the Apache Batik javadoc, but I
had a couple questions I have been unable to answer.

Is the ability to work with user selections of shapes built into the
JSVGCanvas, or is it something I will need to add? (It looks like I
will need to add it, but I thought I would check here before I wrote
something from scratch.)

Is there an existing method that will allow me to obtain all the
shapes on a JSVGCanvas that are within a specified radius of a mouse
click? What about obtianing all the shape elements in a DOM of an SVG
document that are withing a specified radius of a coordinate in the
SVG coordinate system?

If this functionality does not already exist and I write some code
classes to accomplish these tasks would others be interested in using
it?

Thanks in advance for help and suggestions.

Scott Huey

P.S. - My little drawing program will be open source, and as soon as I
have a shell working I will get the code in an online repository.

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

Reply via email to