draw picts in DrRacket with 'aligned smoothing

This commit is contained in:
Matthew Flatt 2012-03-28 06:41:00 -06:00
parent e7f286b87d
commit 6e5cf70c95

View File

@ -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]))