We extended the JSVGCanvas class. The bridgeContext is a protected member variable of 
JSVGCanvas (inherited) and our method provide a public access to this member.

Jan

-----Ursprungliche Nachricht-----
Von: Thomas Estier [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. Marz 2003 13:13
An: Batik Users
Betreff: Re: AW: bounding box of a svg element


That seems to be exactly what I need.

in your example, canvas is an instance of which object ?
JSVGCanvas doesn't seem to have the getBridgeContext method.

Ezberlin, Prakte12-08 wrote:
> You can use 
> canvas.getBridgeContext().getGraphicsNode(yourElement).getGlobalTransform()
> to get the concatenation of all transforms on the element.


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

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

Reply via email to