Search code examples
pythonalgorithmbeziercurve

An extended Bezier Library or Algorithms of bezier operations


Is there a library of data structures and operations for quadratic bezier curves? I need to implement:

  • bezier to bitmap converting with arbitrary quality
  • optimizing bezier curves
  • common operations like subtraction, extraction, rendering etc.

languages: c,c++,.net,python
Algorithms without implementation (pseudocode or etc) could be useful too. (especially optimization)


Solution

  • You might want to take a look at Cairo. I am not exactly sure if it covers all your requirements but it should be able to handle rendering at least.