Bug 5649 - cairo_arc() docs say pi radians = 90 degrees
Summary: cairo_arc() docs say pi radians = 90 degrees
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.1.1
Hardware: All All
: high trivial
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL: http://www.cairographics.org/manual/c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 03:48 UTC by Ken Harris
Modified: 2006-01-18 09:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ken Harris 2006-01-19 03:48:47 UTC
The docs for cairo_arc() say "An angle of M_PI radians (90 degrees) is in the
direction of the positive Y axis (in user-space)."  But 90 degrees is pi/2
radians, not pi radians.
Comment 1 Carl Worth 2006-01-19 04:43:03 UTC
Fixed in cairo 1.1.1:

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).

-Carl


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.