[racket] render draw.ss drawings to pdf, ps, etc.

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Nov 27 15:16:13 EST 2012

You should be able to, inside the draw library, swap out the dc that
gets drawn into, from a dc that you get from a canvas into a dc that
you get by creating a post-script-dc%.

You could even make it a recording dc and draw it in both places.

Robby

On Tue, Nov 27, 2012 at 1:16 PM, David Van Horn <dvanhorn at ccs.neu.edu> wrote:
> On 11/10/12 2:54 PM, David Van Horn wrote:
>>
>> Is there an easy way to render draw.ss drawings to PDF or PS?
>>
>> A) I know draw.ss is deprecated -- this is legacy code
>>
>> B) It's OK if the solution involves "magic" (e.g. using some pict
>> library) -- this is just a one-off thing to render some drawings in a
>> high-quality printing format.
>
>
> I just wanted to ping the list one more time before trying to dig in to
> this.
>
> Thanks,
>
> David
>
>
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users

Posted on the users mailing list.