Re: Shouldn't Cairo use/offer degrees rather than radians?
David Kastrup <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Organization | Organization?!? |
| Message-ID | <[email protected]> |
Lawrence D'Oliveiro <[email protected]> writes: > I wrote: > >> On Wed, 28 Jun 2017 12:34:34 +0200, David Kastrup wrote: >> >> > That is more than Cairo can deliver right now. >> >> Only by special-casing > > Which has consequences. Enclosed is a plot I just did of > double-precision y = cos(x), in epsilon steps in the vicinity of x = > π/2. This is supposed to be almost exactly a straight line, but as you > can see, special-casing y = 0 at the midpoint introduces a kink into the > line. This kind of thing can have consequences. Please look at the code I posted instead of judging a proposal based on somebody else's work. Thank you. -- David Kastrup -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo