Module bezier_shape

Source

Structsยง

CubicBezierShape
A cubic Bรฉzier Curve.
FlatteningParameters ๐Ÿ”’
QuadraticBezierShape
A quadratic Bรฉzier Curve.

Functionsยง

approx_parabola_integral ๐Ÿ”’
Compute an approximation to integral (1 + 4x^2) ^ -0.25 dx used in the flattening code.
approx_parabola_inv_integral ๐Ÿ”’
Approximate the inverse of the function above.
cubic_for_each_local_extremum ๐Ÿ”’
flatten_cubic_bezier_with_t ๐Ÿ”’
quadratic_for_each_local_extremum ๐Ÿ”’
single_curve_approximation ๐Ÿ”’