Skip to main content
← Back to kicad-monkey Rust Docs kicad-monkey Rust Crate API Reference

region_from_evenodd_layers

Function region_from_evenodd_layers 

Source
pub fn region_from_evenodd_layers(
    layers: impl IntoIterator<Item = Vec<Vec<[f64; 2]>>>,
) -> Option<MultiPolygon<f64>>
Expand description

Combine already-closed projected rings with SVG’s even-odd rule per layer, then union the visible layers into one annotation region.