[cairo] Quartz + py-cairo

Steve Chaplin stevech1097 at yahoo.com.au
Wed Jan 10 21:39:04 PST 2007


On Tue, 2007-01-09 at 18:07 -0800, Dethe Elza wrote:
> Hi Steve,
> 
> Thanks for the reply.  Trying another tactic: if I want to use cairo  
> as-is, but pull images from it to paint in a window, is there a  
> context that's recommended?  What's considered fastest?  Any  
> recommended practices here?

You could use cairo.ImageSurface to create an image and
ImageSurface.get_data to access the pixel data, but I think it would be
very slow.

Steve

Send instant messages to your online friends http://au.messenger.yahoo.com 


More information about the cairo mailing list