[][src]Struct drawing::path::FlattenedPath

pub struct FlattenedPath {
    pub points: Vec<VPoint>,
    pub paths: Vec<Path>,
    pub vertexes: Vec<TexturedVertex>,
    pub bounds: Bounds,
}

Fields

points: Vec<VPoint>paths: Vec<Path>vertexes: Vec<TexturedVertex>bounds: Bounds

Implementations

impl FlattenedPath[src]

pub fn clear(&mut self)[src]

pub fn new(path: &[PathElement], dist_tol: f32, tess_tol: f32) -> Self[src]

pub fn expand_stroke(
    &mut self,
    w: f32,
    fringe: f32,
    line_cap: LineCap,
    line_join: LineJoin,
    miter_limit: f32,
    tess_tol: f32
)
[src]

pub fn expand_fill(
    &mut self,
    w: f32,
    line_join: LineJoin,
    miter_limit: f32,
    fringe_width: f32
)
[src]

Auto Trait Implementations

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, 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.