MCPcopy Create free account
hub / github.com/Logicalshift/flowbetween / width_brush_stream

Function width_brush_stream

flo/src/scenery/brush/shape_streams.rs:90–147  ·  view source on GitHub ↗

Creates a brush stream that generates shapes by fitting the curve and applying an offset according to the radius stored in the points This generates a shape for every set of points that is passed in. The input is the set of points being generated by the UI as the user moves their tool across the canvas, so the shapes generated are made by combining all the points received to this point (so each s

(points: impl 'a + Send + Stream<Item=Vec<BrushPoint>>, max_error: f64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

to_brush_responsesMethod · 0.85

Calls 7

PathClass · 0.85
extendMethod · 0.80
mapMethod · 0.80
nextMethod · 0.45
control_pointsMethod · 0.45
end_pointMethod · 0.45
start_pointMethod · 0.45

Tested by

no test coverage detected