You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Rob Davis-5 <te...@robertjdavis.co.uk> on 2008/06/11 13:42:21 UTC

Re: SVG / batik helper class for positioning


titten wrote:
> 
> The problem is that this rectangle is a vector shape and therefore lots of
> transformation has been added from Illustrator.
> 

If you need the absolute co-ordinates of the shape in terms of the entire
document then there are batik methods to obtain this. Also, search this
forum for "transform" and you should see some alternative methods for
calculating an elements actual co-ordinates in terms of the entire document
it is within.

Once you've got this you can reference your bitmap image using the SVG
<image> element, supplying the co-ordinates obtained from the calculation
for x,y, and size x and size y.

-- 
View this message in context: http://www.nabble.com/SVG---batik-helper-class-for-positioning-tp17558465p17775576.html
Sent from the Batik - Users mailing list archive at Nabble.com.


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