[cairo-commit] cairo/src cairo.c,1.137,1.138

Carl Worth commit at pdx.freedesktop.org
Wed Jan 18 09:46:44 PST 2006


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv14591/src

Modified Files:
	cairo.c 
Log Message:

2006-01-18  Carl Worth  <cworth at cworth.org>

        * src/cairo.c: Fix documentation of cairo_arc which erroneously
        claimed M_PI radians == 90 degrees to correctly say that M_PI/2.0
        radians == 90 degrees. This closes bug #5649 (with thanks to
        kengruven at gmail.com).


Index: cairo.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo.c,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -d -r1.137 -r1.138
--- cairo.c	10 Oct 2005 16:16:21 -0000	1.137
+++ cairo.c	18 Jan 2006 17:46:42 -0000	1.138
@@ -1092,8 +1092,8 @@
  * to the path to connect the current point to the beginning of the
  * arc.
  *
- * Angles are measured in radians. An angle of 0 is in the direction
- * of the positive X axis (in user-space). An angle of %M_PI radians
+ * Angles are measured in radians. An angle of 0.0 is in the direction
+ * of the positive X axis (in user-space). An angle of %M_PI/2.0 radians
  * (90 degrees) is in the direction of the positive Y axis (in
  * user-space). Angles increase in the direction from the positive X
  * axis toward the positive Y axis. So with the default transformation



More information about the cairo-commit mailing list