xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tacio Santos" <tacio.san...@gmail.com>
Subject Re: UpdateManager thread not refreshing dynamic svg in JSVGCanvas
Date Wed, 07 Mar 2007 11:21:59 GMT
Thanks, it now works! :-) It was my fault. The ancestor had visibility hidden.
cheers,
Tacio

On 3/7/07, thomas.deweese@kodak.com <thomas.deweese@kodak.com> wrote:
> Hi Tacio,
>
> "Tacio Santos" <tacio.santos@gmail.com> wrote on 03/07/2007 04:25:51 AM:
>
> > thanks for the replies, I was indeed forgetting to append rectangle
> > I've created. But I'm still not getting it displayed though with the
> > DOM Viewer I can see it was added, any ideas?
>
>    What does the root element of the document you are loading look
> like?  Also what element are you appending it to?  You aren't setting
> any fill/stroke attributes (so it will inherit from it's parent).
>
>    It could be a simple matter of the rect being "off screen".
> The rect could be a child of an undisplayed element (ancestor
> has display="none", visibility="hidden", etc).
>
> > thanks,
> > Tacio
> >
> >
> >
> > On 3/7/07, Tonny Kohar <tonny@kiyut.com> wrote:
> > > Hi,
> > >
> > > On Wed, 2007-03-07 at 07:59 +0100, Pepping, Florian wrote:
> > > > Hi Tacio,
> > > >
> > > > I don't see any line of code where you are adding the created
> Element to
> > > > your document. Try adding something like this to your code:
> > > > root.appendChild(rectangle);
> > > >
> > > > Than it should work, the rest looks ok.
> > >
> > > Yup exactly, creating an element does not means adding an element.
> > > So after creating element you still need to add that created element
> > > into some node eg: root node, g node, etc
> > >
> > >
> > > Regards
> > > Tonny Kohar
> > > --
> > > Sketsa
> > > SVG Graphics Editor
> > > http://www.kiyut.com
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> > > For additional commands, e-mail:
> batik-users-help@xmlgraphics.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message