--- In [email protected], "th_w@..." <th_w@...> wrote:
>
> Hi Andreas,
> 
> --- In [email protected], "andreas.scheucher" 
> <andreas.scheucher@> wrote:
> >
> > For example, there is a polyline, with the "id"="1". To redraw, the Node is 
> > fetched from the DOM and the "points" attributes are set to the new values.
> > 
> > I solve this using the Batik SVG Toolkit and draw on a JSVGCanvas Java 
> > Swing Component. This works fine as it draws the polyline with the updated 
> > positions, but it does not remove the older versions of it. Is this working 
> > as designed, or is this a bug?
> > 
> 
> Yes, you can change shapes by modifying attributes.  It sounds you're doing 
> everything right here in this regard.  It's been a long time since I had a 
> look at Batik/JSVGCanvas.  I think JSVGCanvas could be set to update the 
> canvas or simply "add paint".  It seems you set it to simply add more paint.  
> Maybe have a look at the JSVGCanvas documentation.
> 
> Thomas W.
>

To be more specific:  I think this is where to look:

http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/swing/svg/JSVGComponent.html#setDocumentState(int)

Back then, it took me a while until I realized that.



------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to