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

Function svg_with_width

flo/src/scenery/ui/svg.rs:50–74  ·  view source on GitHub ↗

Returns the rendering instructions for an SVG file, with the center of the view box at 0,0 and scaled to the specified width

(svg: &[u8], width: f64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

with_icon_svgMethod · 0.85
flowbetween_documentFunction · 0.85

Calls 3

translateFunction · 0.85
scaleFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected