[][src]Struct lyon_tess2::FillTessellator

pub struct FillTessellator { /* fields omitted */ }

A fill tessellator implemented on top of libtess2.

When in doubt it is usually preferable to use lyon_tessellation's FillTessellator. However in some cases, for example when the NonZero fill rule is needed, This tessellator provides a good fallback.

Implementations

impl FillTessellator[src]

pub fn new() -> Self[src]

pub fn tessellate<Iter>(
    &mut self,
    it: Iter,
    options: &FillOptions,
    output: &mut dyn GeometryReceiver
) -> Result<Count, ()> where
    Iter: IntoIterator<Item = PathEvent>, 
[src]

Compute the tessellation from a path iterator.

pub fn tessellate_flattened_path(
    &mut self,
    path: &FlattenedPath,
    options: &FillOptions,
    output: &mut dyn GeometryReceiver
) -> Result<Count, ()>
[src]

Compute the tessellation from a pre-flattened path.

pub fn tessellate_path<'l>(
    &'l mut self,
    path: impl Into<PathSlice<'l>>,
    options: &'l FillOptions,
    output: &mut dyn GeometryReceiver
) -> Result<Count, ()>
[src]

Compute the tessellation from a path slice.

Trait Implementations

impl Default for FillTessellator[src]

impl Drop for FillTessellator[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.