pub struct InkReach {
pub reach_px: f64,
pub radius_px: f64,
}Expand description
How far a brush puts ink from the path it is dragged along.
Carries the radius it was measured at, because an op may override the brush’s radius — everything else about a dab (its elliptical ratio, its jitters) scales with the radius, so the reach does too.
Fields§
§reach_px: f64Furthest a dab reaches from the path, at radius_px.
radius_px: f64The radius that reach was measured at.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InkReach
impl RefUnwindSafe for InkReach
impl Send for InkReach
impl Sync for InkReach
impl Unpin for InkReach
impl UnsafeUnpin for InkReach
impl UnwindSafe for InkReach
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