epaint
0.30.0
Module bezier
Structs
Functions
In crate epaint
Module
epaint
::
bezier
Copy item path
source
ยท
[
−
]
Structs
ยง
Cubic
Bezier
Shape
A cubic
Bรฉzier Curve
.
Flattening
Parameters
๐
Quadratic
Bezier
Shape
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
๐