mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 10:51:11 +01:00
Shape Builder: name sliver drops in the over-cap region note
This commit is contained in:
1 parent
1b59873456
commit
bb80cc827c
1 file changed
+3
-2
@@ -51,8 +51,9 @@ pub fn has_open_path(shapes: &[Shape]) -> bool {
|
||||
/// it, as pieces keyed by its index in `shapes`. Outlines are cut the same way. With more than
|
||||
/// [`SHAPE_BUILDER_MAX_SEGMENTS`] segments or a map that can't be built, only the filled areas
|
||||
/// count and there are no pieces. The same happens when the sweep cuts the paths into more than
|
||||
/// [`SHAPE_BUILDER_MAX_MAP_EDGES`] pieces; the filled areas are then capped on their own, so they
|
||||
/// have no regions only when they alone are cut into more pieces than that.
|
||||
/// [`SHAPE_BUILDER_MAX_MAP_EDGES`] pieces; the filled areas are then capped on their own. They
|
||||
/// then have no regions when they alone are cut into more pieces than that, and a filled area
|
||||
/// thinner than the precision is dropped as a sliver, as in [`regions`](crate::regions).
|
||||
pub fn shape_builder(shapes: &[Shape], edges: bool) -> BuilderArrangement {
|
||||
shape_builder_with_gap(shapes, edges, 0.0)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user