Re: how efficient is the canvas

>  > 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.

Actually it uses gdk_imlib_move_image() and gdk_imlib_move_mask(),
which do share the rendered pixmaps with other parts of the program,
including the rest of the canvas.


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