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

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Thu Jun 29 04:59:09 UTC 2017


On Thu, 29 Jun 2017 06:37:50 +0200, David Kastrup wrote:

> No: I already showed the kind of code I was going to use instead and
> that would avoid any discontinuities and would make for perfect
> periodicity (the "discontinuity" would get stuffed into sin(pi/2+eps)
> which is approximately 1+eps^2/2 and thus not likely to show any
> staircasing).

You realize that, by introducing this distortion, you are reducing the
accuracy of the computation?

I wonder what the term is, for deliberately producing inaccurate
answers just to look good...


More information about the cairo mailing list