Struct rasterize::ActiveEdgeRasterizer[][src]

pub struct ActiveEdgeRasterizer { /* fields omitted */ }
Expand description

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Rasterize provided path as mask with transformation applied, and specified fill rule. Read more

Iterator over rasterized mask pixels Read more

Name of the rasterizer (usefull for debugging)

Fill path with the provided paint

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.