ruby-****@sourc*****
ruby-****@sourc*****
2013年 4月 3日 (水) 03:37:18 JST
------------------------- REMOTE_ADDR = 70.49.48.128 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dancr-rbcatut-dwc ------------------------- @@ -41,7 +41,10 @@ There are three main kinds of sources in cairo: colors, gradients, and images. Colors are the simplest; they use a uniform hue and opacity for the entire source. You can select these without any preparation with ((<cairo_set_source_rgb()|URL:http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-set-source-rgb>)) and ((<cairo_set_source_rgba()|URL:http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-set-source-rgba>)). Using set_source_rgb(r, g, b) is equivalent to using set_source_rgba(r, g, b, 1.0), and it sets your source color to use full opacity. -{{image_right("1203-p09-setsourcergba-in-C.png")}} +:Colours example + (12.3.2.1.1){{br}} + + {{image_right("1203-p09-setsourcergba-in-C.png")}} # FILE: 1203-p09-80-03-00-01-ssrcrgb-noCUT-OFFS-nonGtkCr-dpl01.rb