[CpmlArc] Added cpml_arc_to_curves()
commite4ab8f809af55a12faca64340b51c0f77cd2a9b1
authorNicola Fontana <ntd@entidi.it>
Sat, 13 Jun 2009 23:35:06 +0000 (14 01:35 +0200)
committerNicola Fontana <ntd@entidi.it>
Sat, 13 Jun 2009 23:35:06 +0000 (14 01:35 +0200)
tree1a631e96d2f81c0ddf7f8b34382dc70dd0e3903c
parent76f52f4a070a1ee0df8beabfe4d7d6f23cb6404e
[CpmlArc] Added cpml_arc_to_curves()

For a more advanced approach on managing arcs in cario,
cpml_arc_to_cairo() was not enough as it has a cairo context
dependency and the number of Bézier curves to use in approximation
is somewhat hardcoded. This new function is designed to address
these issues.
cpml/cpml-arc.c
cpml/cpml-arc.h