GCDC vs DC
Christian K
ckkart at hoc.net
Thu Aug 2 20:33:14 PDT 2007
Christopher Barker wrote:
>> wxGC also supports arbitrary
>> matrix transforms, including rotation, which wxDC doesn't and are slow
>> to implement in Python.
>
> Also True -- I'd to that in numpy too..
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?
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?
Christian
More information about the wxpython-users
mailing list