finally, a fix that makes the 2htdp/image test suite pass!
This commit is contained in:
parent
9ce75b8f76
commit
91aa9f756a
|
@ -977,6 +977,7 @@ has been moved out).
|
|||
(send dc draw-path path dx dy)))]
|
||||
[(flip? np-atomic-shape)
|
||||
(let ([bm (get-rendered-bitmap np-atomic-shape)])
|
||||
(send dc set-smoothing 'smoothed)
|
||||
(send dc draw-bitmap
|
||||
bm
|
||||
(- dx (/ (send bm get-width) 2))
|
||||
|
@ -988,6 +989,7 @@ has been moved out).
|
|||
(let ([θ (degrees->radians (text-angle np-atomic-shape))]
|
||||
[font (send dc get-font)])
|
||||
(send dc set-font (text->font np-atomic-shape))
|
||||
(send dc set-smoothing 'aligned) ;; should this be smoothed?
|
||||
(let ([color (get-color-arg (text-color np-atomic-shape))])
|
||||
(send dc set-text-foreground
|
||||
(cond
|
||||
|
|
Loading…
Reference in New Issue
Block a user