Struct epaint::bezier::FlatteningParameters
source · struct FlatteningParameters {
count: f32,
integral_from: f32,
integral_step: f32,
inv_integral_from: f32,
div_inv_integral_diff: f32,
is_point: bool,
}
Fields§
§count: f32
§integral_from: f32
§integral_step: f32
§inv_integral_from: f32
§div_inv_integral_diff: f32
§is_point: bool
Implementations§
source§impl FlatteningParameters
impl FlatteningParameters
pub fn from_curve(curve: &QuadraticBezierShape, tolerance: f32) -> Self
fn t_at_iteration(&self, iteration: f32) -> f32
Auto Trait Implementations§
impl Freeze for FlatteningParameters
impl RefUnwindSafe for FlatteningParameters
impl Send for FlatteningParameters
impl Sync for FlatteningParameters
impl Unpin for FlatteningParameters
impl UnwindSafe for FlatteningParameters
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more