[racket-dev] Working Cairo-bindings for Racket?

From: Sam Tobin-Hochstadt (samth at cs.indiana.edu)
Date: Fri Sep 26 09:05:45 EDT 2014

Instead of changing my Planet package, it would be better to provide
an FFI to cairo based on the existing one that's in the library you
mention. I don't think any of my package would be useful for that,
though.

Sam

On Fri, Sep 26, 2014 at 8:44 AM, Antti Karttunen
<antti.karttunen at gmail.com> wrote:
>
> Another question:
>
> Would it be a big job to edit the bindings in
> http://planet.racket-lang.org/package-source/samth/cairo.plt/1/0/cairo.ss
> so that it worked with the current
>
> (require racket/draw/unsafe/cairo-lib)
>
> cairo-lib
> #<ffi-lib>
>
> ?
>
> I guess it's not just question of "deprecated names for Cairo functions" as
> mentioned in the ticket:
> http://planet.racket-lang.org/trac/ticket/357
>
> but also code like: (define libcairo (ffi-lib "libcairo"))
>
> right in the beginning of .../samth/cairo.plt/1/0/cairo.ss
> ?
>
>
> Yours,
>
> Antti Karttunen
>
>
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev
>

Posted on the dev mailing list.