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

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Wed Nov 11 00:46:16 PST 2015


On Wed, 11 Nov 2015 01:32:23 -0700, Mark Olesen wrote:

> I am unable to create an outline of a circle/ellipse.
> cairo_stroke below fills instead of creating an outline.

It is stroking. It’s just your line width is being scaled up by the
transformation matrix in effect at the time of the stroke operation.

<http://default-cube.deviantart.com/art/Line-Width-535218240>
<https://github.com/ldo/qahirah_examples/blob/master/line_width>


More information about the cairo mailing list