pub fn approximate_sub_path_signed_area<Iter>(
    tolerance: f32,
    path: &mut Iter
) -> Option<f32>where
    Iter: Iterator<Item = PathEvent>,
Expand description

Compute the signed area of the next sub-path.

The iterator is advanced so that approximate_sub_path_signed_area can be called multiple times to process the successive sub-paths of a path.

Returns None if there is no more sub-path or if the the iterator is malformed.