-
-
Notifications
You must be signed in to change notification settings - Fork 103
Paths
Taco de Wolff edited this page Apr 22, 2021
·
6 revisions
Command | Flatten | Stroke | Length | SplitAt |
---|---|---|---|---|
LineTo | yes | yes | yes | yes |
QuadTo | yes (CubeTo) | yes (CubeTo) | yes | yes (GL5 + Chebyshev10) |
CubeTo | yes | yes | yes (GL5) | yes (GL5 + Chebyshev10) |
ArcTo | yes | yes | yes (GL5) | yes (GL5 + Chebyshev10) |
- Ellipse => Cubic Bézier: used by rasterizer and PDF targets (see Maisonobe paper)
NB: GL5 means a Gauss-Legendre n=5, which is an numerical approximation as there is no analytical solution. Chebyshev is a converging way to approximate a function by an n=10 degree polynomial. It uses the bisection method as well to determine the polynomial points.