|
|
|
|
|
by delta_p_delta_x
1019 days ago
|
|
> Béziers can't represent circles. If you try to approximate one by hand, it'll look lopsided. Many graphics algorithms (vector operations: scale, translate, rotate; raster operations like rasterisation and interpolation) specialise for straight lines (and hence also triangles), Bézier curves, circles, etc separately, rather than forcing everything to be a Bézier curve. |
|
Often you don't need to _represent_ a circle. TrueType fonts (quadratics) and OpenType fonts (cubics) can't mathmatically _represent_ a circle, either, but does that mean no font has circles in it? Sometimes an approximation is pretty damn good.
Also conics (rational quadratic Beziers), which Microsoft has a surprisingly good article on[0], can represent circles.
[0] https://learn.microsoft.com/en-us/xamarin/xamarin-forms/user...