PR 10634
svn: r17158
This commit is contained in:
parent
7c24f19675
commit
b310c35a38
|
@ -626,8 +626,8 @@ the mask bitmap and the original bitmap are all together in a single bytes!
|
|||
[orig-h (send orig-bm get-height)]
|
||||
[x-scale (bitmap-x-scale bitmap)]
|
||||
[y-scale (bitmap-y-scale bitmap)]
|
||||
[scale-w (* x-scale (send orig-bm get-width))]
|
||||
[scale-h (* y-scale (send orig-bm get-height))]
|
||||
[scale-w (ceiling (inexact->exact (* x-scale (send orig-bm get-width))))]
|
||||
[scale-h (ceiling (inexact->exact (* y-scale (send orig-bm get-height))))]
|
||||
[new-bm (make-object bitmap% scale-w scale-h)]
|
||||
[new-mask (make-object bitmap% scale-w scale-h)])
|
||||
(send new-bm set-loaded-mask new-mask)
|
||||
|
@ -734,6 +734,6 @@ the mask bitmap and the original bitmap are all together in a single bytes!
|
|||
render-image)
|
||||
|
||||
;; method names
|
||||
(provide get-shape get-bb get-normalized?)
|
||||
(provide get-shape get-bb get-normalized? get-normalized-shape)
|
||||
|
||||
(provide np-atomic-shape? atomic-shape? simple-shape?)
|
||||
|
|
Loading…
Reference in New Issue
Block a user