Hi,

I am new to SVG and Batik and have a (probably
trivial) question.

I am using the Batik JSVGCanvas in a Swing
application. The SVGDocument that is displayed on the
canvas consists of many rect elements. The canvas is
initially displayed with no zoom. After subsequent
zoom / pan operations, I need to get the co-ordinates
to determine which of the rect elements are now in the
viewport.

I figured out that invoking the getScale methods on
the AffineTransform returned after calling the
getRenderingTransform method returns the zoom. How do
I get the coordinates though?

I would appreciate any inputs or pointers.
I would also like inputs on how to use
getRenderingTransform and getViewBoxTransform methods.


Thanks,
Sindu


        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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

Reply via email to