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

Function Jm

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

Source from the content-addressed store, hash-verified

13213 return Gm(t.x || 0, t.y || 0);
13214 }
13215 function Jm(t, e, n) {
13216 function r(t, n) {
13217 var r = n.x || 0,
13218 i = n.y || 0,
13219 o = n.angle || 0;
13220 (t.translate(r, i),
13221 o && t.rotate((o *= sg)),
13222 t.beginPath(),
13223 e(t, n),
13224 o && t.rotate(-o),
13225 t.translate(-r, -i));
13226 }
13227 return {
13228 type: t,
13229 tag: "path",
13230 nested: !1,
13231 attr: function (t, n) {
13232 (t(
13233 "transform",
13234 (function (t) {
13235 return Gm(t.x || 0, t.y || 0) + (t.angle ? " " + Vm(t.angle) : "");
13236 })(n),
13237 ),
13238 t("d", e(null, n)));
13239 },
13240 bound: function (t, n) {
13241 return (e(vm(t, n.angle), n), tm(t, n).translate(n.x || 0, n.y || 0));
13242 },
13243 draw: Pm(r),
13244 pick: Ym(r),
13245 isect: n || Mm(r),
13246 };
13247 }
13248 var Zm = Jm("arc", function (t, e) {
13249 return Og.context(t)(e);
13250 });

Callers 1

vega.min.jsFile · 0.70

Calls 9

eFunction · 0.85
tFunction · 0.70
GmFunction · 0.70
VmFunction · 0.70
vmFunction · 0.70
tmFunction · 0.70
PmFunction · 0.70
YmFunction · 0.70
MmFunction · 0.70

Tested by

no test coverage detected