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

Function jx

resources/vega.min.js:15953–15965  ·  view source on GitHub ↗
(t, e, n, r, i, o, a, s)

Source from the content-addressed store, hash-verified

15951 );
15952 }
15953 function jx(t, e, n, r, i, o, a, s) {
15954 const u = e.bounds;
15955 if (e.auto) {
15956 const s = a * (n + i + r);
15957 let l = 0,
15958 c = 0;
15959 (t.dirty(e),
15960 o ? (l = (e.x || 0) - (e.x = s)) : (c = (e.y || 0) - (e.y = s)),
15961 e.mark.bounds.clear().union(u.translate(-l, -c)),
15962 t.dirty(e));
15963 }
15964 s.union(u);
15965 }
15966 const Ix = (t, e) => Math.floor(Math.min(t, e)),
15967 Wx = (t, e) => Math.ceil(Math.max(t, e));
15968 function Hx(t) {

Callers 1

PxFunction · 0.85

Calls 2

clearMethod · 0.80
dirtyMethod · 0.45

Tested by

no test coverage detected