[cairo] how do you draw an outline of a circle/ellipse

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Wed Nov 11 19:32:47 PST 2015


On Wed, 11 Nov 2015 19:16:35 -0800, Bill Spitzak wrote:

> On 11/11/2015 02:19 PM, Lawrence D'Oliveiro wrote:
>
>> On Wed, 11 Nov 2015 09:54:00 -0800, Bill Spitzak wrote:
>>  
>>> ... the current behaviour makes it impossible to draw an
>>> ellipse using the arc commands where the line is the same thickness
>>> on all sides ...  
>>
>> Not at all
>> <https://github.com/ldo/qahirah_examples/blob/master/ellipses>,
>> <http://default-cube.deviantart.com/art/Ellipses-567083675>.  
> 
> You can't use the arc commands. Making the ellipse out of curveTo or 
> lineTo commands does work.

Have a look at my code and see how it works.


More information about the cairo mailing list