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

Function xy

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

Source from the content-addressed store, hash-verified

13638 isect: Dm,
13639 };
13640 function xy(t, e, n) {
13641 var r, i, o, a;
13642 return (
13643 !(!e.stroke || !Om(t, e, n)) &&
13644 ((r = e.x || 0),
13645 (i = e.y || 0),
13646 (o = null != e.x2 ? e.x2 : r),
13647 (a = null != e.y2 ? e.y2 : i),
13648 t.beginPath(),
13649 t.moveTo(r, i),
13650 t.lineTo(o, a),
13651 !0)
13652 );
13653 }
13654 var by = {
13655 type: "rule",
13656 tag: "line",

Callers 1

vega.min.jsFile · 0.85

Calls 3

OmFunction · 0.70
moveToMethod · 0.45
lineToMethod · 0.45

Tested by

no test coverage detected