use pen's alpha color stuff in 2htdp/image
original commit: 830c797ee44e77f8a53477240979add83edebc17
This commit is contained in:
parent
c4dd75a553
commit
92e830508d
|
@ -1065,7 +1065,8 @@ the mask bitmap and the original bitmap are all together in a single bytes!
|
|||
(make-object color%
|
||||
(color-red color)
|
||||
(color-green color)
|
||||
(color-blue color))))
|
||||
(color-blue color)
|
||||
(/ (color-alpha color) 255))))
|
||||
|
||||
|
||||
(define (pen->pen-obj/cache pen)
|
||||
|
|
Loading…
Reference in New Issue
Block a user