Praveen Nayak:
> I tried
> svgdoc.documentElement.currentRotate = 0;
> 
> but I get the following error:
> 
> Java class "org.apache.batik.dom.svg.SVGOMSVGElement" has no public instance 
> field or method named "currentRotate"

Ah, sorry, that’s in SVG Tiny 1.2, not 1.1.

You’ll have to get the screen transform with
SVGOMElement.getSVGContext().getScreenTransform(), do the matrix
manipulation yourself, then use setScreenTransform().

-- 
Cameron McCormack, http://mcc.id.au/
        xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]

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

Reply via email to