epaint
0.28.1
Module bezier
Structs
Functions
In crate epaint
Module
epaint
::
bezier
Copy item path
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
๐