[Openmcl-devel] tiny.lisp

Ron Garret ron at awun.net
Tue Jun 2 23:35:59 PDT 2009


I can't find tiny.lisp, but try:

(#/setShouldAntialias: (#/currentContext ns:ns-graphics-context) #$YES)

rg

On Jun 2, 2009, at 10:39 PM, Neil Baylis wrote:

> I'm trying to familiarize myself with the objective C bridge. I got  
> the example "tiny.lisp" to run correctly, so I decided I'd alter it  
> as an experiment. I immediately became lost.
>
> What I want to do is turn on the antialias mode for the window.
>
> I believe that to do this in Obj C, I would need to call
>
> - (void)setShouldAntialias:(BOOL)antialias
>
> which is an instance method of the class NSGraphicsContext.
>
> It's not clear to me how I would write that call in lisp. It's also  
> not clear how I would obtain the graphics context from any of the  
> objects present in tiny.lisp (probably the window or the view, but  
> not sure).
>
> Any hints would be appreciated.
>
> Thanks,
>
> Neil
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20090602/78da1e52/attachment.htm>


More information about the Openmcl-devel mailing list