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@gmail.com).

This commit is contained in:
Carl Worth 2006-01-18 09:46:42 +00:00
parent b5c5fb613d
commit ba69dfefa7
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2006-01-18 Carl Worth <cworth@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@gmail.com).
2006-01-17 Carl Worth <cworth@cworth.org>
Big change to the test infrastructure and supporting

View file

@ -1092,8 +1092,8 @@ cairo_curve_to (cairo_t *cr,
* 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