ruby-****@sourc*****
ruby-****@sourc*****
2013年 4月 3日 (水) 14:12:33 JST
------------------------- REMOTE_ADDR = 70.49.48.128 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dancr-rbcatut-crdrmd ------------------------- @@ -442,6 +442,8 @@ :Caveat Unfortunately, the following example featuring ((<cairo_mask()|URL:http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-mask>)) or as we know it in Ruby ((<Cairo: :Context#mask(pattern)|URL:http://cairo.rubyforge.org/doc/en/cairo-context.html#label-56>)) is using Cairo library features like gradient patterns, we have not yet encountered in this tutorial. If you wish you can peak ahead by visiting the section 12.3.2.1.2 entitled "((<Gradient example|tut-gtk2-dancr-rbcatut-dwc#Gradient example>))". + + {{br}} Following is the complete example program using Cairo library from a non-Gtk environment: {{br}}{{image_right("1203-p08-mask-in-C.png")}}