MCPcopy Create free account
hub / github.com/breck7/scroll / parseSvg

Function parseSvg

external/.d3.js:3794–3801  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

3792}
3793
3794function parseSvg(value) {
3795 if (value == null) return identity$7;
3796 if (!svgNode) svgNode = document.createElementNS("http://www.w3.org/2000/svg", "g");
3797 svgNode.setAttribute("transform", value);
3798 if (!(value = svgNode.transform.baseVal.consolidate())) return identity$7;
3799 value = value.matrix;
3800 return decompose(value.a, value.b, value.c, value.d, value.e, value.f);
3801}
3802
3803function interpolateTransform(parse, pxComma, pxParen, degParen) {
3804

Callers

nothing calls this directly

Calls 1

decomposeFunction · 0.85

Tested by

no test coverage detected