[plt-scheme] is-color? method for monochrome images.
> (define bmap1 (make-object bitmap% "ABC" 8 3))
> (send bmap1 get-depth)
1
> (send bmap1 is-color?)
#t
> (define bmap2 (make-object bitmap% 8 3 #t))
> (send bmap2 get-depth)
1
> (send bmap2 is-color?)
#t
> (define bmap3 (make-object bitmap% 8 3 #f))
> (send bmap3 get-depth)
16
> (send bmap3 is-color?)
#f
Shouldn't the is-color? method return false for monochrome images?
Am I reading the doc incorrectly?
Linux RH, from compile of exp tagged source.
Version: 202.5-cvs14nov2002
--
Ray Racine <rracine at adelphia.net>