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

Function brush_stroke

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

Previews a brush stroke using this tool on the specified layer (returning the final brushstroke so it can be added to the canvas)

(button_down: Button, pointer_id: PointerId, input: &mut InputStream<FocusEvent>, 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.70

Calls 15

create_shape_streamFunction · 0.85
color_value_propertyFunction · 0.85
color_type_propertyFunction · 0.85
render_shapesFunction · 0.85
to_brush_responsesMethod · 0.80
push_stateMethod · 0.80
mapMethod · 0.80
extendMethod · 0.80
pop_stateMethod · 0.80
containsMethod · 0.80
boxedMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected