[cairo-commit] cairo/src cairo-arc.c,1.2,1.3

Carl Worth commit at pdx.freedesktop.org
Mon Jul 11 13:29:48 PDT 2005


Committed by: cworth

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

Modified Files:
	cairo-arc.c 
Log Message:

        * ROADMAP: Note that the cairo_content_t work is done.

        * src/cairo-arc.c (_arc_segments_needed): Note that this function
        is computing an incorrect result.


Index: cairo-arc.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-arc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cairo-arc.c	11 May 2005 03:38:21 -0000	1.2
+++ cairo-arc.c	11 Jul 2005 20:29:46 -0000	1.3
@@ -102,6 +102,8 @@
     return angle;
 }
 
+/* XXX: The computation here if bogus. Correct math (with proof!) is
+ * available in _cairo_pen_vertices_needed. */
 static int
 _arc_segments_needed (double	      angle,
 		      double	      radius,




More information about the cairo-commit mailing list