fixed the bug uncovered by the test in the previous commit (to 2htdp/tests/test-image.ss)

svn: r17499
This commit is contained in:
Robby Findler 2010-01-06 18:43:51 +00:00
parent 01c507c1ff
commit 07fcfd8eee

View File

@ -471,8 +471,8 @@
(rotated-rectangular-bounding-box w h (text-angle atomic-shape)))]
[(bitmap? atomic-shape)
(let ([bb (bitmap-raw-bitmap atomic-shape)])
(rotated-rectangular-bounding-box (send bb get-width)
(send bb get-height)
(rotated-rectangular-bounding-box (* (send bb get-width) (bitmap-x-scale atomic-shape))
(* (send bb get-height) (bitmap-y-scale atomic-shape))
(bitmap-angle atomic-shape)))]
[else
(fprintf (current-error-port) "using bad bounding box for ~s\n" atomic-shape)