Struct rasterize::ActiveEdgeRasterizer [−][src]
pub struct ActiveEdgeRasterizer { /* fields omitted */ }
Active-Edge rasterizer
This method is based on the data stracture Edge-Table which keeps all lines ordered by lower y coordinate, and then scanning over all pixels line by line, once lower pixel of a line is reached line is activated and put into Active-Edge-Table, and later deactivated once once scan line convers point with the highest y coordinate.
Reference: Computer graphics principles and practice (by Foley) 3.6 Filling Polygons.
Implementations
Trait Implementations
impl Default for ActiveEdgeRasterizer
[src]
impl Default for ActiveEdgeRasterizer
[src]impl Rasterizer for ActiveEdgeRasterizer
[src]
impl Rasterizer for ActiveEdgeRasterizer
[src]fn mask(
&self,
path: &Path,
tr: Transform,
img: &mut dyn ImageMut<Pixel = Scalar>,
fill_rule: FillRule
)
[src]
&self,
path: &Path,
tr: Transform,
img: &mut dyn ImageMut<Pixel = Scalar>,
fill_rule: FillRule
)
fn mask_iter(
&self,
path: &Path,
tr: Transform,
size: Size,
fill_rule: FillRule
) -> Box<dyn Iterator<Item = Pixel>>
[src]
&self,
path: &Path,
tr: Transform,
size: Size,
fill_rule: FillRule
) -> Box<dyn Iterator<Item = Pixel>>
fn name(&self) -> &str
[src]
fn fill(
&self,
path: &Path,
tr: Transform,
fill_rule: FillRule,
paint: &dyn Paint,
img: &mut dyn ImageMut<Pixel = LinColor>
)
[src]
&self,
path: &Path,
tr: Transform,
fill_rule: FillRule,
paint: &dyn Paint,
img: &mut dyn ImageMut<Pixel = LinColor>
)
Auto Trait Implementations
impl RefUnwindSafe for ActiveEdgeRasterizer
impl RefUnwindSafe for ActiveEdgeRasterizer
impl Send for ActiveEdgeRasterizer
impl Send for ActiveEdgeRasterizer
impl Sync for ActiveEdgeRasterizer
impl Sync for ActiveEdgeRasterizer
impl Unpin for ActiveEdgeRasterizer
impl Unpin for ActiveEdgeRasterizer
impl UnwindSafe for ActiveEdgeRasterizer
impl UnwindSafe for ActiveEdgeRasterizer