GirFFI-based Ruby bindings for Cairo
This gem allows use of Cairo from your GirFFI-based Gtk+ application. It is only a thin layer on top of the C library.
Please note that this library is in the very early stages of development. Please file bugs for any functionality that is not yet implemented.
require 'gir_ffi-cairo' dst = Cairo::ImageSurface.new(:argb32, 400, 300) ctx = Cairo::Context.new(dst)
gem install gir_ffi-cairo
GirFFI-Cairo needs the GirFFI gem and supports the same platforms.
In addition, it needs introspection data for the cairo library.
On Debian and Ubuntu, you can get this by installing
GirFFI-Cairo has not been tested on Mac OS X or Microsoft Windows. YMMV. Pull requests to support these platforms are welcome.
The following people have contributed to GirFFI-Cairo:
- Natsuki Yagi
- Matijs van Zuijlen
Copyright © 2012–2022 Matijs van Zuijlen
GirFFI-Cairo is free software, distributed under the terms of the GNU Lesser General Public License, version 2.1 or later. See the file COPYING.LIB for more information.