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

Function commit_brush_stroke

flo/src/scenery/tools/brush_tool.rs:334–367  ·  view source on GitHub ↗

Adds a brush stroke to the canvas

(brush_stroke: Vec<Arc<ShapeWithProperties>>, context: &SceneContext, data: Arc<Mutex<BrushToolState>>, (namespace, layer): (NamespaceId, LayerId))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

brush_tool_programFunction · 0.85

Calls 8

vector_add_shapeFunction · 0.85
mapMethod · 0.80
push_stateMethod · 0.80
pop_stateMethod · 0.80
is_emptyMethod · 0.45
getMethod · 0.45
nextMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected