Hi, I'm trying to manually set the transform on a GraphicsNode to change its location. However, the bounds don't seem to change. Am I doing something wrong?
GraphicsNode gNode = ... gNode.getBounds(); gNode.setTransform(myTransform); gNode.getBounds(); // yields the same bounds as previous call The GVT tree is offline and doesn't get rendered in any way. Maybe that's why I'm missing some important recalculation call. How can I manually force invalidation of cached bounds values? In AbstractGraphicsNode.setTransform() only the parent's cache is invalidated, and since the invalidateGeometryCache() method is protected, I can't call it directly on the desired GraphicsNode. I am using the Batik version supplied with Eclipse Ganymede: AbstractGraphicsNode.java,v 1.58 2005/03/27 08:58:34. Many thanks in advance! Gerrit -- http://www.fastmail.fm - Does exactly what it says on the tin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
