Re: how do you draw an outline of a circle/ellipse

Bill Spitzak <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAL-8oAiAsHgZPiM7sahSdutLK7hSD6bn_=Z9+uKdcLQOJYEMAw@mail.gmail.com>
Changing Cairo to work the way you expect is actually a proposed addition,
called "line width locking" I think.

As you point out the current behaviour makes it impossible to draw an
ellipse using the arc commands where the line is the same thickness on all
sides, as well as being pretty unintuitive.


On Wed, Nov 11, 2015 at 12:46 AM, Lawrence D'Oliveiro <
[email protected]> wrote:

> 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>
> --
> cairo mailing list
> [email protected]
> http://lists.cairographics.org/mailman/listinfo/cairo

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.