[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] SVG and SDL/pygame with pycairo?



Rene Dudfield <renesd@xxxxxxxxx>:
>
> this sounds really good!
> 
> Definitely for after 1.7.1 though.
> 
> If pycairo has a tostring() method, then the Surface.frombuffer()
> could be used to make the surface really quickly.

This is where the new array protocol discussed on the NumPy list would
really shine... With that, pycairo and pygame could share surface data
without copying.

-- 
Magnus Lie Hetland                    Fall seven times, stand up eight
http://hetland.org                                  [Japanese proverb]