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

Function tm

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

Source from the content-addressed store, hash-verified

12861 t._pending -= 1;
12862 }
12863 function tm(t, e, n) {
12864 if (e.stroke && 0 !== e.opacity && 0 !== e.strokeOpacity) {
12865 const r = null != e.strokeWidth ? +e.strokeWidth : 1;
12866 t.expand(
12867 r +
12868 (n
12869 ? (function (t, e) {
12870 return t.strokeJoin && "miter" !== t.strokeJoin ? 0 : e;
12871 })(e, r)
12872 : 0),
12873 );
12874 }
12875 return t;
12876 }
12877 const em = lg - 1e-8;
12878 let nm, rm, im, om, am, sm, um, lm;
12879 const cm = (t, e) => nm.add(t, e),

Callers 5

JmFunction · 0.70
QmFunction · 0.70
vega.min.jsFile · 0.70
PxFunction · 0.70
nbFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected