[cairo-commit] rcairo/src/lib/cairo/context circle.rb,1.1,1.2

Kouhei Sutou commit at pdx.freedesktop.org
Sat May 19 19:45:52 PDT 2007


Committed by: kou

Update of /cvs/cairo/rcairo/src/lib/cairo/context
In directory kemper:/tmp/cvs-serv2361/src/lib/cairo/context

Modified Files:
	circle.rb 
Log Message:
* src/rb_cairo.h, src/cairo.def, src/rb_cairo_constants.rb:
  added a module for each enum type.
* src/lib/cairo/constants.rb: kept the backward compatibility.


Index: circle.rb
===================================================================
RCS file: /cvs/cairo/rcairo/src/lib/cairo/context/circle.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- circle.rb	6 Mar 2007 12:17:34 -0000	1.1
+++ circle.rb	20 May 2007 02:45:41 -0000	1.2
@@ -1,8 +1,8 @@
 module Cairo
   class Context
     module Circle
-      def circle(x, y, radius)
-        arc(x, y, radius, 0, 2 * Math::PI)
+      def circle(center_x, center_y, radius)
+        arc(center_x, center_y, radius, 0, 2 * Math::PI)
       end
     end
   end



More information about the cairo-commit mailing list