ruby-****@sourc*****
ruby-****@sourc*****
2013年 4月 3日 (水) 15:15:53 JST
------------------------- REMOTE_ADDR = 70.49.48.128 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dancr-rbcatut-dwc ------------------------- @@ -262,7 +262,7 @@ puts "DEBUG: cr.target.class=#{cr.target.class}" #=> Cairo::ImageSurface {{br}} - Images include both surfaces loaded from existing files with cairo_image_surface_create_from_png() and surfaces created from within cairo as an earlier destination. As of cairo 1.2, the easiest way to make and use an earlier destination as a source is with cairo_push_group() and either cairo_pop_group() or cairo_pop_group_to_source(). Use cairo_pop_group_to_source() to use it just until you select a new source, and cairo_pop_group() when you want to save it so you can select it over and over again with cairo_set_source(). + Images include both surfaces loaded from existing files with ((<cairo_image_surface_create_from_png()|URL:http://www.cairographics.org/manual/cairo-PNG-Support.html#cairo-image-surface-create-from-png>)) and surfaces created from within cairo as an earlier destination. As of cairo 1.2, the easiest way to make and use an earlier destination as a source is with ((<cairo_push_group()|URL:http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-push-group>)) and either ((<cairo_pop_group()|URL:http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-pop-group>)) or ((<cairo_pop_group_to_source()|URL:http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-pop-group-to-source>)). Use cairo_pop_group_to_source() to use it just until you select a new source, and cairo_pop_group() when you want to save it so you can select it over and over again with ((<cairo_set_source()|URL:http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-set-source>)).