graphics
graphics copied to clipboard
Make it possible to draw a Bezier curve
Bezier curve is a useful primitive, that may be used to approximate any other curve. They are often used as building blocks for drawing fonts and general vector graphics. It would be nice to have a module that would allow drawing a path consisting of Bezier curve arcs, or fill a figure bounded by it.
The way this could be done is by generating a polygon and using the stencil buffer. https://github.com/PistonDevelopers/graphics/issues/860
I haven't had time to get around to this. Feel free to try!