Hi, > > Is it easy to pinpoint in batik where the decision is made if a node > > gets drawn or not depending on its validity? Any debugging flags i can > > set to get tons of internal debugging output? > > The GVT tree building is done by the bridge.GVTBuilder class. > It's pretty simple, it basically checks if it has a bridge > registered for the element that was added. If so it will > build it's node and then check it's children, otherwise it stops.
Try to check the GVTNode exist or not by bridgeContext.getGraphicsNode (Element) this method will return GVT node, if it succesfully create the corresponding GVT node for new added element. First check the returned GVT Node for - null or not - if not null call gvtNode.getBounds() to check the resulting rectangle geometry (x,y,w,h) is it really in the intended area space Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
