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

Function Qm

resources/vega.min.js:13251–13281  ·  view source on GitHub ↗
(t, e, n)

Source from the content-addressed store, hash-verified

13249 return Og.context(t)(e);
13250 });
13251 function Qm(t, e, n) {
13252 function r(t, n) {
13253 (t.beginPath(), e(t, n));
13254 }
13255 const i = Hm(r);
13256 return {
13257 type: t,
13258 tag: "path",
13259 nested: !0,
13260 attr: function (t, n) {
13261 var r = n.mark.items;
13262 r.length && t("d", e(null, r));
13263 },
13264 bound: function (t, n) {
13265 var r = n.items;
13266 return 0 === r.length ? t : (e(vm(t), r), tm(t, r[0]));
13267 },
13268 draw: jm(r),
13269 pick: function (t, e, n, r, o, a) {
13270 var s = e.items,
13271 u = e.bounds;
13272 return !s || !s.length || (u && !u.contains(o, a))
13273 ? null
13274 : ((n *= t.pixelRatio),
13275 (r *= t.pixelRatio),
13276 i(t, s, n, r) ? s[0] : null);
13277 },
13278 isect: Em,
13279 tip: n,
13280 };
13281 }
13282 var Km = Qm(
13283 "area",
13284 function (t, e) {

Callers 1

vega.min.jsFile · 0.70

Calls 8

eFunction · 0.85
containsMethod · 0.80
HmFunction · 0.70
tFunction · 0.70
vmFunction · 0.70
tmFunction · 0.70
jmFunction · 0.70
iFunction · 0.70

Tested by

no test coverage detected