MCPcopy Create free account
hub / github.com/microsoft/SandDance / attr$3

Function attr$3

docs/app/js/sanddance-app.js:122732–122737  ·  view source on GitHub ↗
(emit9, item)

Source from the content-addressed store, hash-verified

122730};
122731var line = markMultiItemPath("line", line$1, pickLine);
122732function attr$3(emit9, item) {
122733 var sx = item.scaleX || 1, sy = item.scaleY || 1;
122734 if (sx !== 1 || sy !== 1) emit9("vector-effect", "non-scaling-stroke");
122735 emit9("transform", transformItem(item));
122736 emit9("d", item.path);
122737}
122738function path$1(context44, item) {
122739 var path9 = item.path;
122740 if (path9 == null) return true;

Callers

nothing calls this directly

Calls 1

transformItemFunction · 0.70

Tested by

no test coverage detected