home *** CD-ROM | disk | FTP | other *** search
- ; book pp.244-246
-
- (setf w (send graph-window-proto :new))
-
- (let ((width (send w :canvas-width))
- (height (send w :canvas-height))
- (mode (send w :draw-mode)))
- (send w :draw-mode 'xor)
- (dotimes (i (min width height))
- (send w :draw-symbol 'disk t i i)
- (send w :draw-symbol 'disk t i i))
- (send w :draw-mode mode))
-
- (pause 50)
-
- (let ((width (send w :canvas-width))
- (height (send w :canvas-height)))
- (dotimes (i (min width height))
- (send w :start-buffering)
- (send w :erase-window)
- (send w :draw-symbol 'disk t i i)
- (send w :buffer-to-screen)))
-