7.2 Using color in the Window Tool Kit
> (setup-color-library) ; With no arguments, this function NIL ; registers the primary colors.For a more interesting demonstration of color, use the code provided in Section 7.4 on page 77.> (setq window (make-window :width 100 :height 100 :depth (display-depth))) #<Window 100x100x8 at (0,0) F665FB>
> (draw-rectangle window 10 10 :width 30 :height 20 :foreground "MAGENTA") NIL
Generated with Harlequin WebMaker