Hello Thomas,
On Wed, 31 Dec 2003, Thomas DeWeese wrote:
> The JSVGComponent will only think it needs to be re-rendered if
> you 'change something' in the Graphics Node. So for example if you
> set the transform or adjust the rendering properties for the Node
> (or the associated DOM element) it will mark it's self as dirty and
> the UpdateManager will trigger a repaint.
>
> If you can't figure out what is triggering the repaint you could
> register a GraphicsNodeChangeListener with the RootGraphicsNode. Then
> just use: 'new Exception("Change").printStackTrace()' to figure out
> who is causing the change events to be generated.
Handy. And very useful info. Thank you.
> Well you could walk the tree yourself and do this, it wouldn't be
> too hard but it would involve being aware of most of the Graphics Node
> types in Batik.
[...]
> > A 'getShape()' or
> > 'draw()' or whatnot that /didn't/ tell the JSVGComponent to re-render
> > would be fine with me... ;-)
>
> GraphicsNode.paint does not tell the component to re-render.
Eh, if I can just call [GraphicsNode].paint(), that'll be fine
with me. Probably look better, too... :-)
> > Thanks!
> > - Bob
>
> So is it 'Bob' or 'Bibek' (is 'Bob' an Americization of 'Bibek'?).
When I moved to the states decades ago, my uncle decided I needed
a more American-sounding name... thus I went by "Bobby" for a few years.
By the time I hit Jr. High, I decided it was time for something else. ;-)
I tend to use Bibek on official things, and Bob or Bibek
interchangably with friends.
I appreciate your help. Thank you. :-)
- Bibek
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]