add a contract for slideshow/pict's bitmap function

This commit is contained in:
Robby Findler 2011-12-01 13:35:10 -06:00
parent 545b37ff0d
commit 301631c0d6

View File

@ -5,6 +5,7 @@
racket/draw
racket/math
racket/gui/dynamic
racket/snip
"mrpict.rkt")
;; Utilities for use with mrpict
@ -44,7 +45,6 @@
add-arrow-line
add-arrows-line
bitmap
bitmap-draft-mode
find-pen
@ -99,7 +99,12 @@
boolean?
#:style (or/c false/c symbol?)
#:hide-arrowhead? any/c)
pict?)])
pict?)]
[bitmap (-> (or/c path-string?
(is-a?/c bitmap%)
(is-a?/c image-snip%))
pict?)]
)