[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: refreshing drawings
On Mar 13, Patrick Hertelendy wrote:
> How can I refresh automatically drawings so that they dont disappear
> when another window is on them?
You should override the on-paint event. The best-looking way is to
have a bitmap and do every drawing on it and on the window, then have
on-paint just copy this bitmap. I think that .../collects/graphics
have some examples - look for sixlib-canvas% in graphicsr.ss or
plot-window% in turtlmr.ss. I have some more examples for this if
you're interested...
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.cs.cornell.edu/eli/meaning.html Maze is Life!