Lines Matching refs:n
3114 var n = pts.length;
3131 for (var i = 1; i < n; i++)
6679 var n = null;
6708 if (n == null)
6710 n = new mxPoint(pt.x - last.x, pt.y - last.y);
6711 len = Math.sqrt(n.x * n.x + n.y * n.y);
6715 n.x = n.x * size / len;
6716 n.y = n.y * size / len;
6720 n = null;
6732 var p0 = new mxPoint(pt.x - n.x, pt.y - n.y);
6733 var p1 = new mxPoint(pt.x + n.x, pt.y + n.y);
6738 var f = (Math.round(n.x) < 0 || (Math.round(n.x) == 0
6739 && Math.round(n.y) <= 0)) ? 1 : -1;
6744 c.lineTo(p0.x - n.y * f, p0.y + n.x * f);
6745 c.lineTo(p1.x - n.y * f, p1.y + n.x * f);
6750 c.moveTo(p0.x + n.y * f, p0.y - n.x * f);
6751 c.lineTo(p0.x - n.y * f, p0.y + n.x * f);
6752 c.moveTo(p1.x - n.y * f, p1.y + n.x * f);
6753 c.lineTo(p1.x + n.y * f, p1.y - n.x * f);
6759 c.curveTo(p0.x - n.y * f, p0.y + n.x * f,
6760 p1.x - n.y * f, p1.y + n.x * f,
6776 n = null;