[cairo-commit] src/cairo.c

Carl Worth cworth at kemper.freedesktop.org
Wed Nov 7 11:18:57 PST 2007


 src/cairo.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 5b0a0fe7a230f99a43916a16bfd2d26882bad46b
Author: Carl Worth <cworth at cworth.org>
Date:   Wed Nov 7 11:17:59 2007 -0800

    Mention cairo_new_sub_path in documentation of cairo_arc

diff --git a/src/cairo.c b/src/cairo.c
index dc01ffc..a319792 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -1528,7 +1528,8 @@ slim_hidden_def (cairo_curve_to);
  *
  * If there is a current point, an initial line segment will be added
  * to the path to connect the current point to the beginning of the
- * arc.
+ * arc. If this initial line is undesired, it can be avoided by
+ * calling cairo_new_sub_path() before calling cairo_arc().
  *
  * 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


More information about the cairo-commit mailing list