One of the applications I work on generates a novel graph format, which I initially implemented with the GraphicsContext functions. Unfortunately, this doesn’t scale very well (interactively or not) and the behavior on Linux and Mac is very inconsistent. We would also like to have the ability to use these graphs in other contexts (e.g. web pages, PDFs, etc.) which would require a completely different format. Since the program is relatively simple right now and I have a long list of changes to make, I’m just going to rewrite it, but I wanted to get an opinion on the best way to display the output. Postscript seems like the best format, since I can use the Python Imaging Library to create and convert it, but what are my options for displaying it in wxPython? I couldn’t find much on Google; is there anything better than converting it to a bitmap? I would like to produce something that can scale cleanly when the display window is resized, if possible, but this may be unrealistic.
Alternately, if anyone has used the SVG widget for wxPython and can comment on its stability and features, I’d be interested to hear that. Anything I can do to make this more interactive (e.g. quickly redrawing the screen based on user preferences) would be very helpful.
thanks,
Nat