Just a small, informal diagram of how the new rendering system works, to balance out all the speculative UML sketches I made... I have not shown the elements inside the element groups, but they are things like line elements, oval elements, and so on.
Right. The renderer gets passed a toolkit-specific Visitor, that wraps either a Graphics object (AWT) or a GC object (SWT) that does the actual pixel stuff.
Of course, this could be extended to, eg, Batik's SVGGraphics or any other suitable output (PDF, I suppose, or PostScript, or whatever).
Comments
Of course, this could be extended to, eg, Batik's SVGGraphics or any other suitable output (PDF, I suppose, or PostScript, or whatever).