[cairo] Shouldn't Cairo use/offer degrees rather than radians?
David Kastrup
dak at gnu.org
Wed Jun 28 05:00:24 UTC 2017
Lawrence D'Oliveiro <ldo at geek-central.gen.nz> writes:
> On Tue, 27 Jun 2017 11:37:07 +0200, David Kastrup wrote:
>
>> Lawrence D'Oliveiro <ldo at geek-central.gen.nz> writes:
>>
>>> Trig calculations are usually easier in radians.
>>
>> Nobody uses Taylor series for actual trig calculations.
>
> Not that I care. This is the kind of thing I care about:
>
> arc_length = radius * angle
>
> That kind of calculation only makes sense if “angle” is in radians.
cairo_rotate has nothing to do with arc lengths.
--
David Kastrup
More information about the cairo
mailing list