JSVGComponent which is a super class of JSVGCanvas has a protected member
bridgeContext.
you can access it like this:
class MyCanvas extends JSVGCanvas {
public BridgeContext getBridgeContext() {
return BridgeContext();
}
}
-----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]