struct TransformPen<'a, P: OutlinePen + ?Sized> {
pen: &'a mut P,
matrix: Matrix<f32>,
}Fields§
§pen: &'a mut P§matrix: Matrix<f32>Implementations§
Trait Implementations§
Source§impl<P: OutlinePen + ?Sized> OutlinePen for TransformPen<'_, P>
impl<P: OutlinePen + ?Sized> OutlinePen for TransformPen<'_, P>
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<'a, P> Freeze for TransformPen<'a, P>where
P: ?Sized,
impl<'a, P> RefUnwindSafe for TransformPen<'a, P>where
P: RefUnwindSafe + ?Sized,
impl<'a, P> Send for TransformPen<'a, P>
impl<'a, P> Sync for TransformPen<'a, P>
impl<'a, P> Unpin for TransformPen<'a, P>where
P: ?Sized,
impl<'a, P> UnsafeUnpin for TransformPen<'a, P>where
P: ?Sized,
impl<'a, P> !UnwindSafe for TransformPen<'a, P>
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<P> CommandSink for Pwhere
P: OutlinePen,
impl<P> CommandSink for Pwhere
P: OutlinePen,
fn move_to(&mut self, x: Fixed, y: Fixed)
fn line_to(&mut self, x: Fixed, y: Fixed)
fn curve_to( &mut self, cx0: Fixed, cy0: Fixed, cx1: Fixed, cy1: Fixed, x: Fixed, y: Fixed, )
fn close(&mut self)
Source§fn hint_mask(&mut self, mask: &[u8])
fn hint_mask(&mut self, mask: &[u8])
Bitmask defining the hints that should be made active for the
commands that follow.
Source§fn counter_mask(&mut self, mask: &[u8])
fn counter_mask(&mut self, mask: &[u8])
Bitmask defining the counter hints that should be made active for the
commands that follow.
Source§fn clear_hints(&mut self)
fn clear_hints(&mut self)
Clear accumulated stem hints and all data derived from them.