Hi,

> I'm a new Batik user, I use Batik to develop an SVG editor but I have same problems.
> I'm trying to select same elements under a rectangle of selection, I draw the 
> rectangle using the method drawRect in a class that implement the Overlay interface 
> but when I use the method getOverlay on a JSVGCanvas object it return an empity 
> list. 
> I have use the methos getBBox but it can take only one element at time.

You must traverse the whole element in the DOC and check for bbox for
each element whether it is fit with your rect selection.

> Have I take a bad way?
There is no such thing as bad way, programming is an art :) 

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