Hi Charles,
 
You can build it:
 
            UserAgentAdapter userAgentAdapter = new UserAgentAdapter();
            BridgeContext bridgeContext = new BridgeContext(userAgentAdapter);
            GVTBuilder gvtBuilder = new GVTBuilder();
            GraphicsNode graphicsNode = gvtBuilder.build(bridgeContext, svgDocument);
 
Hope this helps,
 
André
----- Original Message -----
Sent: Wednesday, July 12, 2006 11:36 AM
Subject: Re: GraphicsNode from an Element

And from where I get the bridgeContex? I tried to use the bridgeContext field inside the svgCanvas, but its getGraphicsNode() only retuns null.


On 7/10/06, Tonny Kohar <[EMAIL PROTECTED]> wrote:
Hi,

On Mon, 2006-07-10 at 16:25 -0300, Charles Abreu wrote:
> Hi,
>
> How I obtain a GraphicsNode from an Element object?
>

GraphicsNode gn = bridgeContext.getGraphicsNode(svgElement);

Regards
Tonny Kohar
--
Sketsa
SVG Graphics Editor
http://www.kiyut.com


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



Reply via email to