[wxPython-users] SVG support

Christopher Barker Chris.Barker at noaa.gov
Wed Jul 26 23:28:30 PDT 2006


Lanier, Paul wrote:
> Has anyone here played with Agg in C++?

not yet.

> I've thought about it but the
> Agg stuff is so slow in Matplotlib that I figured Agg must not be that
> fast.  Is this just some issue with how it is interfaced to wxPython?

And how matplotlib is written -- there are a lot of layers in there.

There is a key problem though: going from data to a wxImage to a 
wxBitmap that can then be drawn on the screen is pretty slow, partly 
because there is a lot of copying of data done.

Robin is looking into giving wxPython more direct access to wxBitmap 
data, but that may be tricky, as wx.Bitmaps use platform-native data 
formats, which can vary a lot.

Also, there has been chatter on and off about using Agg or Ciaro as the 
basis for the next generation DC. That's a while off, at best, and Cairo 
is slower then Agg, but it would be nice top get all the features.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer
                                      		
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list