[racket] Questions about the Canvas
On Jun 13, 2012, at 3:16 PM, Hillary Ryan wrote:
> I have a bunch (two dozen) of little objects that I would like to be able to draw on one canvas. At the moment I am passing each object the drawing context which comes from the canvas, letting the object draw itself and then moving onto the next object. By this method, if one object changes I have to redraw the entire canvas. I know in Java you can redraw only part of the canvas. Is there a standard method in Racket for drawing a bunch of objects on a canvas efficiently?
Yes if I understand your question correctly, but you have to go a little bit deeper in the GUI toolbox.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120613/15cc46c0/attachment.html>