aboutsummaryrefslogtreecommitdiff

pict-cons

Draw cons.

example1.png

INSTALL

raco pkg install https://github.com/tojoqk/pict-cons.git

UPDATE

raco pkg update https://github.com/tojoqk/pict-cons.git

UNINSTALL

raco pkg remove pict-cons

USAGE

Save as "pict-example.png".

#lang racket
(require pict)
(require pict-cons)

(define pict-example
  (pict-cons '(+ a (* b c))))

(send (pict->bitmap pict-example) save-file "pict-example.png" 'png)