ruby-****@sourc*****
ruby-****@sourc*****
2013年 3月 23日 (土) 14:50:11 JST
------------------------- REMOTE_ADDR = 70.49.48.128 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dancr-rbcatut ------------------------- @@ -138,7 +138,7 @@ (12.3.0.1.2.2) {{image_right("1203-smiley-face-s1.png")}} In Michael Urman's Cairo tutorial called ((<Cairo Tutorial for PyGTK Programmers|URL:http://www.tortall.net/mu/wiki/PyGTKCairoTutorial>)), where Nichael also creates a similar Gtk/Cairo framework as is ours, you can find a neat piece of Python cairo code generating a((*smiley face.*)) I translated his smiley face Python code to Ruby, and run it in our Ruby Gtk/Cairo wrapper. - ((*SmileyFace.rb*)) + ((*smiley-face.rb*)) #!/usr/bin/env ruby