vydd / sketch

A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
MIT License
1.4k stars 67 forks source link

Don't draw border around images. #133

Closed Kevinpgalligan closed 9 months ago

Kevinpgalligan commented 9 months ago

By default, we currently draw a border around images. This leaks the implementation details of how images are drawn (i.e. by filling a rect), instead we can let the user draw their own border if they want.

Tested:

(defsketch imagetest
        ((pic (load-resource "/path/to/image.png")))
      (draw pic))