Struct mupdf::path::Path[][src]

pub struct Path { /* fields omitted */ }

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]

pub fn curve_to_v(
    &mut self,
    cx: f32,
    cy: f32,
    ex: f32,
    ey: f32
) -> Result<(), Error>
[src]

pub fn curve_to_y(
    &mut self,
    cx: f32,
    cy: f32,
    ex: f32,
    ey: f32
) -> Result<(), Error>
[src]

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.