PR 10783 addendum

svn: r18346
This commit is contained in:
Robby Findler 2010-02-26 03:38:00 +00:00
parent 2e90dfc081
commit 700a530f4e

View File

@ -562,8 +562,8 @@ has been moved out).
(define (save-image-as-bitmap image filename kind)
(let* ([bb (send image get-bb)]
[bm (make-object bitmap%
(ceiling (inexact->exact (bb-right bb)))
(ceiling (inexact->exact (bb-bottom bb))))]
(+ 1 (ceiling (inexact->exact (bb-right bb))))
(+ 1 (ceiling (inexact->exact (bb-bottom bb)))))]
[bdc (make-object bitmap-dc% bm)])
(send bdc clear)
(render-image image bdc 0 0)