[cairo] Shouldn't Cairo use/offer degrees rather than radians?

Gregor Mückl GregorMueckl at gmx.de
Mon Jul 3 21:41:58 UTC 2017


On 07/03/17 17:14, David Kastrup wrote:
 > [example code for drawing a half-circle omitted]

Could you please explain why you chose that y value of 0.501954078674316 
specifically? At first sight, it seems to be specifically designed to 
hit a pathological case. How big of an epsilon can you add to/subtract 
from this value before the output changes? I haven't played around with 
the program.

Gregor


More information about the cairo mailing list