[−][src]Struct lyon_tess2::FillTessellator
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]
&mut self,
it: Iter,
options: &FillOptions,
output: &mut dyn GeometryReceiver
) -> Result<Count, ()> where
Iter: IntoIterator<Item = PathEvent>,
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]
&mut self,
path: &FlattenedPath,
options: &FillOptions,
output: &mut dyn GeometryReceiver
) -> Result<Count, ()>
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]
&'l mut self,
path: impl Into<PathSlice<'l>>,
options: &'l FillOptions,
output: &mut dyn GeometryReceiver
) -> Result<Count, ()>
Compute the tessellation from a path slice.
Trait Implementations
impl Default for FillTessellator
[src]
impl Drop for FillTessellator
[src]
Auto Trait Implementations
impl RefUnwindSafe for FillTessellator
[src]
impl !Send for FillTessellator
[src]
impl !Sync for FillTessellator
[src]
impl Unpin for FillTessellator
[src]
impl UnwindSafe for FillTessellator
[src]
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, 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>,