Re: how efficient is the canvas




On Wed, 4 Aug 1999, Federico Mena Quintero wrote:

> >  How about lots of small, identical graphics?  It's my
> >  understanding that GnomeCanvasImageItem copies the GdkImlibImage
> >  into each new canvas item, as each one can be transformed
> >  separately.  
> 
> No, the GnomeCanvasImage item will not copy the image.  It just keeps
> a pointer to the original image, so multiple image items will share
> it.
> 

But it creates separate pixmaps & masks, which make it still unefficient
for bunches of identical images.

Lauris




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