draw picts in DrRacket with 'aligned smoothing
This commit is contained in:
parent
e7f286b87d
commit
6e5cf70c95
|
@ -476,6 +476,7 @@
|
|||
(define a (dyn pict-ascent pict))
|
||||
(define d (dyn pict-descent pict))
|
||||
(define rdc (new record-dc%))
|
||||
(send rdc set-smoothing 'aligned)
|
||||
(dyn draw-pict pict rdc 0 0)
|
||||
(define recorded-datum (send rdc get-recorded-datum))
|
||||
(new pict-snip:pict-snip% [w w] [h h] [d d] [a a] [recorded-datum recorded-datum]))
|
||||
|
|
Loading…
Reference in New Issue
Block a user