Re: Ellipse stroke
Richard Copley <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAPM58og0PeqgSbL0wLa47EYq7Expp7fbuiT0yZT15n6SNBoHfQ@mail.gmail.com> |
> On the top right and bottom right: avoiding the bug by stroking the > arc from t to pi-t, where cos²(t) = (r₀² - ∛(r₀r₀L)²) / (r₀² - r₁²), > where r₀ and r₁ are the ellipse semiaxes and L is the line width. > > (That equation gives the locations of the cusps (if any) in the inner > curve of the ellipse stroke (proof omitted).) Typo, sorry. The equation should be: cos²(t) = (r₀² - ∛(r₀r₁L)²) / (r₀² - r₁²) -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo