Support #:unscaled? in save-file for Bitmap%.

Closes PR 14916.
This commit is contained in:
Sam Tobin-Hochstadt 2015-01-04 15:37:26 -05:00
parent a943d85375
commit e64abf30d2

View File

@ -82,8 +82,8 @@
[make-dc (-> (Instance Bitmap-DC%))]
[ok? (-> Boolean)]
[save-file (case->
((U Path-String Output-Port) (U 'png 'jpeg 'xbm 'xpm 'bmp) -> Boolean)
((U Path-String Output-Port) (U 'png 'jpeg 'xbm 'xpm 'bmp) Natural -> Boolean))]
((U Path-String Output-Port) (U 'png 'jpeg 'xbm 'xpm 'bmp) [#:unscaled? Any] -> Boolean)
((U Path-String Output-Port) (U 'png 'jpeg 'xbm 'xpm 'bmp) Natural [#:unscaled? Any] -> Boolean))]
[set-argb-pixels
(case-> (Real Real
Exact-Nonnegative-Integer Exact-Nonnegative-Integer