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

Method draw

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

Source from the content-addressed store, hash-verified

14592 );
14593 }
14594 draw(t, e, n, r) {
14595 if ("group" !== e.marktype && null != r && !r.includes(e.marktype))
14596 return;
14597 const i = Hy[e.marktype];
14598 (e.clip &&
14599 (function (t, e) {
14600 var n = e.clip;
14601 (t.save(), J(n) ? (t.beginPath(), n(t), t.clip()) : ty(t, e.group));
14602 })(t, e),
14603 i.draw.call(this, t, e, n, r),
14604 e.clip && t.restore());
14605 }
14606 clear(t, e, n, r) {
14607 const i = this._options,
14608 o = this.context();

Callers 4

_renderMethod · 0.95
iFunction · 0.80
vega.min.jsFile · 0.80
tFFunction · 0.80

Calls 3

tyFunction · 0.85
JFunction · 0.70
nFunction · 0.70

Tested by

no test coverage detected