Struct write_fonts::pens::BezPathPen
source · pub struct BezPathPen { /* private fields */ }Implementations§
source§impl BezPathPen
impl BezPathPen
pub fn new() -> BezPathPen
pub fn into_inner(self) -> BezPath
Trait Implementations§
source§impl Default for BezPathPen
impl Default for BezPathPen
source§impl Pen for BezPathPen
impl Pen for BezPathPen
source§fn quad_to(&mut self, cx0: f32, cy0: f32, x: f32, y: f32)
fn quad_to(&mut self, cx0: f32, cy0: f32, x: f32, y: f32)
Emit a quadratic bezier segment from the current point with a control
point at (cx0, cy0) and ending at (x, y).
Auto Trait Implementations§
impl RefUnwindSafe for BezPathPen
impl Send for BezPathPen
impl Sync for BezPathPen
impl Unpin for BezPathPen
impl UnwindSafe for BezPathPen
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
source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.