Hi Maik,
Maik Sch�rer proveo GmbH wrote:
Can I "apply" a transform after setAttribute("transform", myTransform) to an
element ?
Should means, the "apply" changes the points of <rect>, <p> etc. and the
"transform" attribute is removed from element.
Thanks in advance
The short answer is 'no'. Just to take your example of a rect
after a rotation it is no longer a rect (it would have to morph
into a path element).
The longer answer is that using Java2D and the GVT you could
do this. You can get the java.awt.Shape objects from
batik.gvt.ShapeNode and use
java.awt.geom.AffineTransform.createTransformedShape(Shape s) to
get the transformed geometry that can then be output as a path
with out a transform.
Why do you care?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]