Struct mupdf::path::Path [−][src]
Implementations
impl Path
[src]
pub fn new() -> Result<Self, Error>
[src]
pub fn try_clone(&self) -> Result<Self, Error>
[src]
pub fn walk(&self, walker: &mut dyn PathWalker) -> Result<(), Error>
[src]
pub fn current_point(&self) -> Point
[src]
pub fn move_to(&mut self, x: f32, y: f32) -> Result<(), Error>
[src]
pub fn line_to(&mut self, x: f32, y: f32) -> Result<(), Error>
[src]
pub fn curve_to(
&mut self,
cx1: f32,
cy1: f32,
cx2: f32,
cy2: f32,
ex: f32,
ey: f32
) -> Result<(), Error>
[src]
&mut self,
cx1: f32,
cy1: f32,
cx2: f32,
cy2: f32,
ex: f32,
ey: f32
) -> Result<(), Error>
pub fn curve_to_v(
&mut self,
cx: f32,
cy: f32,
ex: f32,
ey: f32
) -> Result<(), Error>
[src]
&mut self,
cx: f32,
cy: f32,
ex: f32,
ey: f32
) -> Result<(), Error>
pub fn curve_to_y(
&mut self,
cx: f32,
cy: f32,
ex: f32,
ey: f32
) -> Result<(), Error>
[src]
&mut self,
cx: f32,
cy: f32,
ex: f32,
ey: f32
) -> Result<(), Error>
pub fn rect(&mut self, x1: i32, y1: i32, x2: i32, y2: i32) -> Result<(), Error>
[src]
pub fn close(&mut self) -> Result<(), Error>
[src]
pub fn transform(&mut self, mat: &Matrix) -> Result<(), Error>
[src]
pub fn bounds(&self, stroke: &StrokeState, ctm: &Matrix) -> Result<Rect, Error>
[src]
pub fn trim(&mut self) -> Result<(), Error>
[src]
Trait Implementations
impl Clone for Path
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Path
[src]
impl Drop for Path
[src]
Auto Trait Implementations
impl RefUnwindSafe for Path
impl !Send for Path
impl !Sync for Path
impl Unpin for Path
impl UnwindSafe for Path
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,