PR 10783 addendum

svn: r18346

original commit: 700a530f4e4e0d971bd8a12f53aa9b07d5008956
This commit is contained in:
Robby Findler 2010-02-26 03:38:00 +00:00
parent 26690b6b9c
commit 1309cd03d7

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)