PatternFiller

Trait PatternFiller 

Source
pub trait PatternFiller<F: Float + Trig + FromPrimitive, P: BorrowMut<Vec<Vec<Point2D<F>>>>> {
    // Required method
    fn fill_polygons(&self, polygon_list: P, o: &mut Options) -> OpSet<F>;
}

Required Methods§

Source

fn fill_polygons(&self, polygon_list: P, o: &mut Options) -> OpSet<F>

Implementors§

Source§

impl<F, P> PatternFiller<F, P> for DashedFiller<F>
where F: Float + Trig + FromPrimitive, P: BorrowMut<Vec<Vec<Point2D<F>>>>,

Source§

impl<F, P> PatternFiller<F, P> for DotFiller<F>
where F: Float + Trig + FromPrimitive, P: BorrowMut<Vec<Vec<Point2D<F>>>>,

Source§

impl<F, P> PatternFiller<F, P> for HatchFiller<F>
where F: Float + Trig + FromPrimitive, P: BorrowMut<Vec<Vec<Point2D<F>>>>,

Source§

impl<F, P> PatternFiller<F, P> for ScanlineHachureFiller<F>
where F: Float + Trig + FromPrimitive, P: BorrowMut<Vec<Vec<Point2D<F>>>>,

Source§

impl<F, P> PatternFiller<F, P> for ZigZagFiller<F>
where F: Float + Trig + FromPrimitive, P: BorrowMut<Vec<Vec<Point2D<F>>>>,

Source§

impl<F, P> PatternFiller<F, P> for ZigZagLineFiller<F>
where F: Float + Trig + FromPrimitive, P: BorrowMut<Vec<Vec<Point2D<F>>>>,