[info-mcl] digitool (MCL) / clozure (OpenMCL)
Erik M. Altmann
ema at msu.edu
Thu Oct 11 12:03:54 EDT 2007
ditto^3.
Erik.
At 11:16 AM -0400 10/11/07, Sean Ferguson wrote:
>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
>
>_______________________________________________
>info-mcl mailing list
>info-mcl at clozure.com
>http://clozure.com/mailman/listinfo/info-mcl
--
Erik M. Altmann
Department of Psychology
Michigan State University
East Lansing, MI 48824
517-353-4406 (voice)
517-353-1652 (fax)
http://www.msu.edu/~ema
More information about the info-mcl
mailing list