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

Function tb

resources/vega.min.js:16301–16315  ·  view source on GitHub ↗
(t, e, n, r, i, o)

Source from the content-addressed store, hash-verified

16299 return M;
16300 }
16301 function tb(t, e, n, r, i, o) {
16302 if (e) {
16303 t.dirty(e);
16304 var a = n,
16305 s = n;
16306 (r
16307 ? (a = Math.round(i.x1 + o * i.width()))
16308 : (s = Math.round(i.y1 + o * i.height())),
16309 e.bounds.translate(a - (e.x || 0), s - (e.y || 0)),
16310 e.mark.bounds.clear().union(e.bounds),
16311 (e.x = a),
16312 (e.y = s),
16313 t.dirty(e));
16314 }
16315 }
16316 function eb(t, e, n, r, i, o, a) {
16317 const s = (function (t, e) {
16318 const n = t[e] || {};

Callers 1

JxFunction · 0.85

Calls 4

widthMethod · 0.80
heightMethod · 0.80
clearMethod · 0.80
dirtyMethod · 0.45

Tested by

no test coverage detected