> Batik absolutely does create GN for elements that only have
> 'visibility:hidden'.  I know that because we have tests to ensure
> that pointer/key events get sent to those elements. 

You are correct. It was my bad. I had mixed up the method calls and was
doing the check for a GraphicsNode before unsetting display:none and
setting visibility:hidden.

> I feel I should also mention that I have yet to encounter anyone
> that has tried to manipulate the GVT tree directly that wouldn't have
> been better off manipulating the DOM.  So you might want to rethink or
> ask about why you need access to the GN's at all.   Your stated reason
> doesn't seem to rise to the level needed, you can easily toggle the
> visibility of nodes through the DOM.

I am not manipulating the GVT tree, just reading it. I implemented these
standard transformation handles for scaling, skewing and rotating, so I
need information like getTransform() and getGlobalTransform() and
getTransformedBounds().

To interface with the editor, I have to create wrapper objects, which I
currently fail to create automatically when switching the display
property on and off. Thus, I wanted to make sure that even invisible
elements would retain a GraphicsNode all the time.

Thanks for your help!
Gerrit


-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to