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

Function sM

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

Source from the content-addressed store, hash-verified

18994 );
18995 }
18996 function sM(t, e, n) {
18997 return rM(
18998 t,
18999 function (n) {
19000 var r = +e,
19001 i = r / (n[1][1] - n[0][1]),
19002 o = -i * n[0][0],
19003 a = (r - i * (n[1][1] + n[0][1])) / 2;
19004 t.scale(150 * i).translate([o, a]);
19005 },
19006 n,
19007 );
19008 }
19009 nM.prototype = {
19010 constructor: nM,
19011 point: function (t, e) {

Callers 2

pMFunction · 0.85
vega.min.jsFile · 0.85

Calls 1

rMFunction · 0.85

Tested by

no test coverage detected