From: Masao M. <mu...@hi...> - 2003-01-04 06:45:00
|
Hi, On Fri, 3 Jan 2003 23:20:07 +0000 Tom Payne <rub...@to...> wrote: > All -- > > Attached is a patch that wraps most of libart's functionality -- VPaths, > BPaths, SVPs, stroking, etc. > > It includes a simple canvas object that allows the generation of PNG and > JPEG images without the use of the other GNOME bindings. > > Combined, they make an excellent package for generating high quality images > with Ruby, and is a good alternative to GD (www.boutell.com/gd). Great job. I applied your patch to both Ruby-GNOME and Ruby-GNOME2. > Sorry no documentation as yet. Have a look at the rose.rb file in the > libart/src/directory for an example program. We have written API documents for Ruby-GNOME2 on the RWiki. http://rwiki.jin.gr.jp/cgi-bin/rw-cgi.rb?cmd=view;name=Ruby-GNOME2 If you write API documents for Ruby/Libart(2), I recommand you to use there(anyone can write on the RWiki). > Feedback appreciated. In Ruby-1.7.x or later, it is obsolete to override Class.new. it is recommanded to override Class.alocate, Object#initialize instead. This was whole Ruby-GNOME issue. We changed the behaviors on Ruby-GNOME2. Though Ruby/Libart has not follow this changes yet. #You can see them in ruby-gnome2/glib/src/rbgobj_boxed.c, rbgobj_object.c. BTW, Do you interested in Ruby-GNOME2? Ruby-GNOME is obsolete. I recommand you to use/develop Ruby-GNOME2 instead. Thanks. Masao. -- .:% Masao Mutoh<mu...@hi...> |