Ruby bindings for cairo are available in the cairo CVS, module rcairo.
Install: RubyGems
For RubyGems users.
% sudo gem install cairo
Install: tar.gz
For non-RubyGems users.
The latest version is rcairo-1.8.1
% wget http://cairographics.org/releases/rcairo-X.X.X.tar.gz
% tar xvzf rcairo-X.X.X.tar.gz
% cd rcairo-X.X.X
% ruby extconf.rb
% make
% sudo make install
Documentation
CVS
Anonymous access:
% cvs -d:pserver:anonymous@cvs.cairographics.org:/cvs/cairo co rcairo
For developers:
% cvs -d:ext:USERNAME@cvs.cairographics.org:/cvs/cairo co rcairo
Features
- PNG saving
- PostScript saving
- PDF saving
- SVG saving
- Win32 support
- Quartz support
- all cairo API
TODO
- Documentation in English (there is full documentation in Japanese)
- Format engine (table, chart, ...)
- QR code module
Dependencies (cairo binding)
cairo, cairo development files
ruby, ruby header development files
