add a coercion so that equality is simpler for things produced by 'bitmap'
This commit is contained in:
parent
7716851cde
commit
4f19b0d454
|
@ -1264,7 +1264,8 @@
|
||||||
arg
|
arg
|
||||||
(or (current-load-relative-directory)
|
(or (current-load-relative-directory)
|
||||||
(current-directory)))])])
|
(current-directory)))])])
|
||||||
#`(make-object image-snip% (make-object bitmap% #,path 'unknown/mask)))]))
|
;; the rotate does a coercion to a 2htdp/image image
|
||||||
|
#`(rotate 0 (make-object image-snip% (make-object bitmap% #,path 'unknown/mask))))]))
|
||||||
|
|
||||||
(define/chk (image->color-list image)
|
(define/chk (image->color-list image)
|
||||||
(let* ([w (image-width image)]
|
(let* ([w (image-width image)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user