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

Function Mm

resources/vega.min.js:12978–12987  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

12976 var km = (km = Sc(1, 1)) ? km.getContext("2d") : null;
12977 const Am = new Vg();
12978 function Mm(t) {
12979 return function (e, n) {
12980 if (!km) return !0;
12981 (t(km, e), Am.clear().union(e.bounds).intersect(n).round());
12982 const { x1: r, y1: i, x2: o, y2: a } = Am;
12983 for (let t = i; t <= a; ++t)
12984 for (let e = r; e <= o; ++e) if (km.isPointInPath(e, t)) return !0;
12985 return !1;
12986 };
12987 }
12988 function Em(t, e) {
12989 return e.contains(t.x || 0, t.y || 0);
12990 }

Callers 2

JmFunction · 0.70
vega.min.jsFile · 0.70

Calls 2

clearMethod · 0.80
tFunction · 0.70

Tested by

no test coverage detected