ruby-****@sourc*****
ruby-****@sourc*****
2013年 4月 3日 (水) 01:58:50 JST
------------------------- REMOTE_ADDR = 70.49.48.128 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dancr-rbcatut-dwc ------------------------- @@ -119,9 +119,9 @@ y2 = 1.0 dx = 0.4 dy = 0.3 - ctoff_thck = 0.08 - fr_dist = ctoff_thck + 0.03 - + ctoff_thck = 0.08 # Cut-off thickness. + fr_dist = ctoff_thck + 0.03 # Frame distance from the rectangle. 0.03 space + # between the frame and the drawing inside. # Drawing code goes here cr.set_source_rgb(0, 0, 0) cr.move_to(x1 + dx, y1 + dy)