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

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Fri Jun 30 06:08:23 UTC 2017


On Fri, 30 Jun 2017 07:02:36 +0200, David Kastrup wrote:

> Lawrence D'Oliveiro <ldo at geek-central.gen.nz> writes:
> 
>> On Thu, 29 Jun 2017 08:08:04 +0200, David Kastrup wrote:
>>  
>>> It replaces a sin(x)/cos(x) pair by a sin(x)/sin(pi/2-x) pair.  The
>>> largest cumulative effect is at pi/4.  
>>
>> So you introduce a kink at π/4. How is this any better, again?  
> 
> There is no kink.  None at all.

No kink? Have a look--here’s your kink, at π/4.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cos_45deg_plot_fake.png
Type: image/png
Size: 15870 bytes
Desc: not available
URL: <https://lists.cairographics.org/archives/cairo/attachments/20170630/7ea9b20f/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cos_45deg_plot_real.png
Type: image/png
Size: 13841 bytes
Desc: not available
URL: <https://lists.cairographics.org/archives/cairo/attachments/20170630/7ea9b20f/attachment-0003.png>


More information about the cairo mailing list