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

2014-09-27 Thread Sam Tobin-Hochstadt
No, I'm suggesting that while I think a real binding to cairo would be a good idea, it should be based on the code already in racket/draw and that the code in my library is probably useless. Feel free to use any of it that you find useful, though. Sam On Sep 27, 2014 5:08 AM, "Antti Karttunen" wr

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

2014-09-27 Thread Antti Karttunen
On Fri, Sep 26, 2014 at 4:05 PM, Sam Tobin-Hochstadt wrote: > 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. > Did I underst

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

2014-09-26 Thread Sam Tobin-Hochstadt
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 wrote: > > Another question: >

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

2014-09-26 Thread Antti Karttunen
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 # ? I guess it's not just question of "deprecated names for Cairo functi