pict: restore use of loaded mask, if any, by bitmap

In case a `bitmap%` object with a mask is passed to `bitmap`.
This commit is contained in:
Matthew Flatt 2013-10-08 16:10:35 -06:00
parent 16552e9a67
commit 94e767cfa9

View File

@ -1018,7 +1018,7 @@
[h (send bm get-height)]) [h (send bm get-height)])
(dc (dc
(lambda (dc x y) (lambda (dc x y)
(send dc draw-bitmap bm x y 'solid black-color)) (send dc draw-bitmap bm x y 'solid black-color (send bm get-loaded-mask)))
w h)) w h))
(frame (inset (colorize (text "bitmap failed") "red") 2))))) (frame (inset (colorize (text "bitmap failed") "red") 2)))))