[plt-scheme] drawing in MrEd's pasteboards

From: Carl Eastlund (cce at ccs.neu.edu)
Date: Fri Sep 8 16:20:38 EDT 2006

On 9/8/06, Robby Findler <robby at cs.uchicago.edu> wrote:
> (define my-editor-canvas%
>   (class editor-canvas%
>     (inherit get-dc)
>     (define/override (on-paint before? dc left top right bottom dx dy draw-caret)
>       (a-drawing-function (get-dc))
>       (super on-paint before? dc left top right bottom dx dy draw-caret))
>     (super-new)))

Silly question - is (get-dc) in this context expected to give a
different result than the dc argument to the method?

-- 
Carl Eastlund


Posted on the users mailing list.