xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: Defining of elements lying in rectangle
Date Wed, 22 Sep 2004 18:25:20 GMT

    Well you should be able to call:
	 svg.getIntersectionList(Rect, Element).

    But that's currently not implemented.  If you do it with the
DOM don't forget to take transforms into account.  This is getting
high on my list of things to work on...

Dmitrij wrote:
>>Is there is some way to obtain the list of SVG elements lying in some
>>rectangle (x1, y1, x2, y2 in screen coordinates) or I should study the
>>DOM tree and find them manually?

Tonny Kohar wrote:

> As far as I know there is none, I could be wrong.
> However, you could traverse the dom and use boundingBox to check/compare
> with the rectangle.
> Regards
> Tonny Kohar 

To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org

View raw message