I want to find the best place to hook a new class into Batik so it can output a representation of the shapes in an SVG document in a different vector style format, with any hierarchical transformations already applied before the new class gets involved.
I am hoping to hook in at a place where the new class can be most decoupled from knowledge of SVG and the architecture of Batik, but get the most out of Batik's facilities for interpreting an SVG document and generating a graphical representation of it I am hoping Batik can take care of the hierarchy of transformations that may need to be applied to an object before it is drawn, so perhaps all I would need to do is implement an interface which has operations like drawPolygon(xpoints, ypoints, flattenedTransform) drawRect(x, y, width, height, flattenedTransform). The class producing the output might do something like represent every shape as a list of x,y coordinates which can be used to draw a polygonal approximation of the outline of the shape. Larry --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
