You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Tonny Kohar <to...@kiyut.com> on 2003/09/25 21:21:32 UTC

referenced element bug?

hi,

is anybody experience this:
when I update the reference element eg:gradient element it doesn't
update the referencing element.
for example I have rect element with fill attr point to gradientElement,
if I update the gradient element
property/child the update doesn't reflected by GVT.

is this gvt or brigde bug? or this is not bug. if this is bug, I will
fill proper bugzilla :)

I attached sample file.

work around:
when update the reference element, update also the referencing element
by setting/update any attribute

Regards
Tonny Kohar
http://www.kiyut.com

Re: referenced element bug?

Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi Tonny,

Tonny Kohar wrote:


> is anybody experience this:
> when I update the reference element eg:gradient element it doesn't
> update the referencing element.
> for example I have rect element with fill attr point to gradientElement,
> if I update the gradient element
> property/child the update doesn't reflected by GVT.

   This is a known limitation.  This is _much_ harder than you think
since gradients can reference other gradients etc... In particular it
is difficult to avoid memory leaks (this was supported early on but
was removed because the memory leaks were so bad).

> is this gvt or brigde bug? or this is not bug. if this is bug, I will
> fill proper bugzilla :)

   Please fill a bugzilla.

> I attached sample file.
> 
> work around:
> when update the reference element, update also the referencing element
> by setting/update any attribute




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