[wxPython-dev] 2.7 timeline
Robin Dunn
robin at alldunn.com
Sat Sep 30 17:54:13 PDT 2006
Peter Damoc wrote:
> Sorry for my newbie question BUT could someone more experimented point
> out the benefits of such a DC compared to a SVG renderer? I mean... why
> not create something that could output on the screen a SVG structure...
> and then... the DC methods could be transformed in SVG manipulation
> methods ....
Probably the main benefit is performance. On Windows and OSX the APIs
being built upon are the native implementation for getting high quality
2D graphics out to the screen, and Cairo is as native as GTK is. If SVG
a SVG renderer was used it would still have to go through another device
layer of some sort to get to the screen. From my understanding of SVG
you would probably rather want to do things the other way around, create
a SVG renderer that uses the graphics context and path APIs to translate
from SVG to an output device.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-dev
mailing list