[plt-scheme] drawing in MrEd's pasteboards

From: Robby Findler (robby at cs.uchicago.edu)
Date: Fri Sep 8 08:38:50 EDT 2006

On Sep 8, 2006, at 6:46 AM, nik gaffney wrote:

> hi,.
> from the description of a pasteboard% it looks like it should be  
> possible to do
> similar path based drawing in a  within an editor-canvas% as in a  
> canvas% draw
> context. however, i cant seem to find an obvious way to get this  
> working with
> out resorting to creating bitmaps, then using image-clip%, is there  
> a more
> straightforward method of drawing into a pasteboard ?+

You should be able to do the same things in a canvas% and in an  
editor-canvas% (the second has more going on, so you may need to be a  
little more careful about ordering of drawing, tho). In particular,  
they both draw into a canvas-dc, so you should be able to use all the  
same path stuff in both places.

What's going wrong?


Posted on the users mailing list.