[info-mcl] digitool (MCL) / clozure (OpenMCL)

Sean Ferguson ferguson at music.mcgill.ca
Thu Oct 11 11:16:02 EDT 2007


ditto this ditto.

>  >We simply have quite a lot of code written for MCL that we are now
>>forced to use on a G4 machine and that we would like to simply
>>compile and use with the new Mac OSs and HWs.
>>Isn't  this a need of many of us?
>>The rest can come.
>
>Ditto here.
>
>A year or so ago I hacked up a QuickDraw-to-CoreGraphics converter
>that runs in real-time. By patching methods one level above the trap
>calls (e.g., the traps being #_moveto, #_lineto, etc., and the
>methods being move-to, line-to, etc.), I created a model what
>QuickDraw intended to do, and then performed appropriate steps in CG
>to accomplish the same. With only about 13 or so patched MCL
>functions and macros, I could generate images in CG instead of
>QuickDraw by flicking a global switch. The main idea was that NO
>CHANGE to application level source code was needed at all: I could
>continue programming in my familiar QuickDraw environment, but the
>images were generated in CG. Anti-aliased lines came as an added
>benefit, as did shadowing (some extra but optional macros controlled
>the attributes found in CG only). Granted, drawing in CG turned out
>to be much slower than in QuickDraw, but at least the idea worked.
>_______________________________________________
>info-mcl mailing list
>info-mcl at clozure.com
>http://clozure.com/mailman/listinfo/info-mcl




More information about the info-mcl mailing list