Intermediate vs direct rendering

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.


It would also be instructive if you could add where widget toolkit specifics come in... which is only after the element groups, right?
gilleain said…
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).