Re: Ellipse stroke
Richard Copley <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAPM58ohk-0CN85gpE4=SSrE_GAMpbb3wC2CODJKKeDwVxbbxuw@mail.gmail.com> |
On 17 November 2017 at 08:31, Richard Copley <[email protected]> wrote: > I'm not sure exactly what shaped path HTML5 Canvas creates > for the strokes in the cases I illustrated. Here's an HTML5 Canvas sample of some elliptical arcs: <https://jsfiddle.net/tbncfoof/10/> I tried it on desktop Firefox, Chrome and Edge. Cairo's stroke has undesirable gaps, in my opinion, and it breaks down when the minor semiaxis is near zero. Webkit's stroke is like Cairo's but without the problems when the minor semiaxis is near zero. Webkit strokes a simple straight line when the minor semiaxis is equal to zero. Gecko's stroke (using Skia) has desirable properties (no gaps!) and is the best, IMO. Edge's stroke is kind of weird but not completely unusable. BTW and hypothetically, could Cairo accept a patch it it were derived from Mozilla's source code? -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo