[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-dancr-rbcatut

Zurück zum Archiv-Index

ruby-****@sourc***** ruby-****@sourc*****
2013年 3月 27日 (水) 04:57:02 JST


-------------------------
REMOTE_ADDR = 70.49.48.128
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dancr-rbcatut
-------------------------
@@ -426,7 +426,7 @@
      cr.show_text("a")
      # -- your code - end --------------------------------- -e-
 
-    This code snippet would produce the output png image file, shown above on the right, only, had Ruby supported the drawing surfaces and their behaviour, namely the ((*image_surface_create*)) method, as well as, allow them to be bound to a backend of your choice (we talked about backends above in section ((<12.3.0.1.1|tut-gtk2-dancr-rbcatut#Cairo Backends>)) and, indeed, utilize surface's write-to file method. (Instead you can use Ruby Gtk's file manipulation behaviours, explained in section 12.2 "((<Writing the Image Of a Drawing Area Into a Pixbuf File|tut-gtk2-dancr-wr-dapxb2file>))".
+    This code snippet would produce the output png image file, shown above on the right, only, had Ruby supported the drawing surfaces and their behaviour, namely the ((*image_surface_create*)) method, as well as, allow them to be bound to a backend of your choice (we talked about backends above in section ((<12.3.0.1.1|tut-gtk2-dancr-rbcatut#Cairo Backends>)) and, indeed, utilize surface's write-to file method. (Instead, in Ruby Cairo implementation, you can achieve similar results by employing Ruby Gtk's file manipulation behaviours, explained in section 12.2 "((<Writing the Image Of a Drawing Area Into a Pixbuf File|tut-gtk2-dancr-wr-dapxb2file>))".
 
     The other thing that is not completely implemented in Ruby, and hence prevents us to translate the the original Michael's "showtext" code snippet is the omission of cairo's font description constants.  
 




ruby-gnome2-cvs メーリングリストの案内
Zurück zum Archiv-Index