MCPcopy Create free account
hub / github.com/alignoth/alignoth / _

Function _

resources/vega.min.js:18160–18183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18158 (c.lineStart(), (s = []));
18159 }
18160 function _() {
18161 (y(s[0][0], s[0][1]), c.lineEnd());
18162 var t,
18163 e,
18164 n,
18165 r,
18166 u = c.clean(),
18167 h = l.result(),
18168 d = h.length;
18169 if ((s.pop(), o.push(s), (s = null), d))
18170 if (1 & u) {
18171 if ((e = (n = h[0]).length - 1) > 0) {
18172 for (
18173 f || (i.polygonStart(), (f = !0)), i.lineStart(), t = 0;
18174 t < e;
18175 ++t
18176 )
18177 i.point((r = n[t])[0], r[1]);
18178 i.lineEnd();
18179 }
18180 } else
18181 (d > 1 && 2 & u && h.push(h.pop().concat(h.shift())),
18182 a.push(h.filter(Ik)));
18183 }
18184 return h;
18185 };
18186 }

Callers 2

wFunction · 0.70
vega.min.jsFile · 0.70

Calls 6

lineEndMethod · 0.80
resultMethod · 0.80
polygonStartMethod · 0.80
lineStartMethod · 0.80
pointMethod · 0.80
yFunction · 0.70

Tested by

no test coverage detected