Re: pixmap tiling on canvas

On Mon Oct 11, 1999 at 11:45:00AM -0400, Jeffrey W. Bizzaro wrote:
> Erik Andersen wrote:
> >
> > In gnomehack, I just tile the canvas with a CanvasImage, and then lower
> > that image to the bottom of the Z-order. I then tile other images on top
> > of the background image. Works fine, and produces the same effect.
> So you're using canvas items to tile the background.  But how do you manage canvas resizing?  It seems like you would have to duplicate what was already coded for gtk themes.  And considering I am using Python bindings, the tiling would be not nearly as fast.

The background image is much smaller than the background area, and
there is in only _one_ background image (I just display it in multiple
locations). When the canvas is resized, the background image resizes as
well, and it isn't too slow, in my experience.


Erik B. Andersen   Web: 
--This message was written using 73% post-consumer electrons--

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