[wxPython-users] Re: GCDC vs DC

Christopher Barker Chris.Barker at noaa.gov
Fri Aug 3 11:17:39 PDT 2007


Christian K wrote:
> I guess it will not be faster to use the transformation methods provided by the
> GraphicsContext to transform between real and screen coordinates, as needed by
> plot.py, instead of using numpy, right?

I'd expect numpy to be just as fast, yes.

> The graphics objects which are created by plot.py are rather simple, so that
> creating and reusing paths will not help. Is it nevertheless better/faster to
> use GraphicsContext directly instead using the GCDC api?

Do a little test and see, that's the only way to know , with your 
application.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (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