..
original commit: 8632213ed2d7eeb5aece25a8a6a0ae3ec69b91db
This commit is contained in:
parent
0d0ff5d47c
commit
af6ec3c4ba
|
@ -427,8 +427,8 @@
|
|||
(send big-snip get-extent dc x y bwb bhb #f #f #f #f)
|
||||
(let* ([cw (send dc get-char-width)]
|
||||
[ch (send dc get-char-height)]
|
||||
[w (quotient (unbox bwb) cw)]
|
||||
[h (quotient (unbox bhb) ch)])
|
||||
[w (floor (/ (unbox bwb) cw))]
|
||||
[h (floor (/ (unbox bhb) ch))])
|
||||
(set/f! wb w)
|
||||
(set/f! hb h)
|
||||
(set! width w)
|
||||
|
|
Loading…
Reference in New Issue
Block a user