lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Francesco Abbate wrote:
2010/1/4 KHMan:
[...]
[...] I think that for producing
vectorial graphical files like SVG, PDF or PS AGG is simply the wrong
tool.

I was thinking more of the workflow or needs of existing users and how it may or may not fit into a scripted AGG tool. If there is an impedance mismatch then the potential user population will scale accordingly.

I believe that what we can do is to abstract the rendering canvas so
it can be, transparently a window or a PNG file and provides a set of
API to drawing into the canvas. In interactive mode you can open a
'canvas' of type 'window' and draw in it in real time and in off-line
mode you will open a canvas of PNG type.

This sounds like SDL's surfaces. PNG is only important when it's time to save to a file in a lossless manner.

[...]

Good luck,
--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia