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