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

Function Gg

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

Source from the content-addressed store, hash-verified

12615 Hg = 1;
12616 }
12617 function Gg(t, e, n) {
12618 var r = e.clip,
12619 i = t._defs,
12620 o = e.clip_id || (e.clip_id = "clip" + Hg++),
12621 a = i.clipping[o] || (i.clipping[o] = { id: o });
12622 return (
12623 J(r)
12624 ? (a.path = r(null))
12625 : Ig(n)
12626 ? (a.path = Wg(null, n, 0, 0))
12627 : ((a.width = n.width || 0), (a.height = n.height || 0)),
12628 "url(#" + o + ")"
12629 );
12630 }
12631 function Vg(t) {
12632 (this.clear(), t && this.union(t));
12633 }

Callers 3

vega.min.jsFile · 0.85
markMethod · 0.85
markMethod · 0.85

Calls 4

IgFunction · 0.85
WgFunction · 0.85
JFunction · 0.70
rFunction · 0.70

Tested by

no test coverage detected