Hi aGO,

tavolate <[EMAIL PROTECTED]> wrote on 
12/06/2007 11:48:17 AM:

>  is it possible to create a GraphicsNode from an Element of a SVG 
Document?

     Yes, you have more or less shown the code below.
The code below can't work in all cases (in particular the
fact that you have set the context dynamic seems like trouble).
So what are you trying to do in a wider sense?

     Or what problems are you having with the code 
below? 

> Ex:
> 
>   UserAgentAdapter mUserAgent = new UserAgentAdapter(); 
>   BridgeContext mCtx = new BridgeContext(mUserAgent); 
>   mCtx.setDynamicState(BridgeContext.DYNAMIC);
>   GVTBuilder mBuilder = new DynamicGVTBuilder();
> 
>   GraphicsNode mGVTElement = mBuilder.build(mCtx, element);
> 
> 
> element is a part of SVG document for example a rect tag (I can get it 
with
> document.getElementByTagName(...)).

Reply via email to