LuaJIT FFI bindings for cairo/pixman
Dimiter 'malkia' Stanev <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Hi guys, I've been working for the last few months on luajit ffi bindings for cairo, and other open source libs (pixman included). They project is located here, and comes with precompiled libs for win32/64, osx (universal) and linux (ubuntu x86/efikamx-arm) http://github.com/malkia/ufo The bindings are here, and can be used separately in other projects with little changes: https://github.com/malkia/ufo/blob/master/ffi/cairo.lua https://github.com/malkia/ufo/blob/master/ffi/pixman.lua For demonstrations, here is a simple paint app, with SDL as backend (also exposed through luajit ffi): https://github.com/malkia/ufo/blob/master/samples/cairo/doodle.lua ./luajit samples/cairo/doodle.lua (for unix/osx) luajit samples/cairo/doodle.lua (for windows) There are some more samples, some of them stolen from the cairo testbed and transformed. Thanks, Dimiter 'malkia' Stanev -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo