xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tonny Kohar" <tonny.ko...@gmail.com>
Subject Re: element bounds, pre-transformation
Date Sat, 03 Nov 2007 06:58:47 GMT
Hi,

On Nov 2, 2007 9:33 PM, Jeff Abernathy <jeff.abernathy@asolutions.com> wrote:
> Hello,
>
> I was wondering if there was a method offered by batik that gives the bounds of an element
before a transform attribute is applied. If not, can anyone think of a way to make such a
calculation?
>

Did you try transform.inverseTransform() (forget the syntax, it maybe
also createInverse, check the Tranform API) then apply this inversed
transform to the element you are interested

Regards
Tonny Kohar
-- 
Inspiration and Expression
http://blogs.kiyut.com/tonny/

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


Mime
View raw message