Lines Matching refs:ny

5116 		var ny = unitY * (size + sw + 1);
5121 c.moveTo(pe.x - nx / 2 - ny / 2, pe.y - ny / 2 + nx / 2);
5122 c.lineTo(pe.x + ny / 2 - 3 * nx / 2, pe.y - 3 * ny / 2 - nx / 2);
5131 var ny = unitY * (size + sw + 1);
5133 var py = pe.y + ny / 2;
5136 pe.y -= ny;
5141 c.moveTo(px - nx / 2 - ny / 2, py - ny / 2 + nx / 2);
5142 c.lineTo(px - nx / 2 + ny / 2, py - ny / 2 - nx / 2);
5143 c.lineTo(px + ny / 2 - 3 * nx / 2, py - 3 * ny / 2 - nx / 2);
5144 c.lineTo(px - ny / 2 - 3 * nx / 2, py - 3 * ny / 2 + nx / 2);
5162 var ny = unitY * (size + sw + 1);
5167 c.moveTo(pe.x - nx / 2 - ny / 2, pe.y - ny / 2 + nx / 2);
5168 c.lineTo(pe.x + ny / 2 - 3 * nx / 2, pe.y - 3 * ny / 2 - nx / 2);
5169 c.moveTo(pe.x - nx / 2 + ny / 2, pe.y - ny / 2 - nx / 2);
5170 c.lineTo(pe.x - ny / 2 - 3 * nx / 2, pe.y - 3 * ny / 2 + nx / 2);
5209 var ny = unitY * (size + 2 * sw); //(size + sw + 1);
5217 c.lineTo(pt.x - 2 * nx + unitX * (sw), pt.y - 2 * ny + unitY * (sw));
5218 c.moveTo(pt.x - nx - ny + unitY * sw, pt.y - ny + nx - unitX * sw);
5219 c.lineTo(pt.x + ny - nx - unitY * sw, pt.y - ny - nx + unitX * sw);
5228 var ny = unitY * (size + sw + 1);
5232 pe.y -= ny;
5237 c.moveTo(pt.x - ny, pt.y + nx);
5238 c.quadTo(pe.x - ny, pe.y + nx, pe.x, pe.y);
5239 c.quadTo(pe.x + ny, pe.y - nx, pt.x + ny, pt.y - nx);
5620 return createEdgeHandle(state, ['width'], start, function(dist, nx, ny, p0, p1) argument
5624 return new mxPoint(p0.x + nx * dist / 4 + ny * w / 2, p0.y + ny * dist / 4 - nx * w / 2);
5625 }, function(dist, nx, ny, p0, p1, pt) argument
5652 …dth', mxConstants.STYLE_STARTSIZE, mxConstants.STYLE_ENDSIZE], true, function(dist, nx, ny, p0, p1) argument
5657 return new mxPoint(p0.x + nx * (l + state.shape.strokewidth * state.view.scale) + ny * w / 2,
5658 p0.y + ny * (l + state.shape.strokewidth * state.view.scale) - nx * w / 2);
5659 }, function(dist, nx, ny, p0, p1, pt, me) argument
5662 var l = mxUtils.ptLineDist(p0.x, p0.y, p0.x + ny, p0.y - nx, pt.x, pt.y);
5683 …dth', mxConstants.STYLE_STARTSIZE, mxConstants.STYLE_ENDSIZE], true, function(dist, nx, ny, p0, p1) argument
5688 return new mxPoint(p0.x + nx * (l + state.shape.strokewidth * state.view.scale) + ny * w / 2,
5689 p0.y + ny * (l + state.shape.strokewidth * state.view.scale) - nx * w / 2);
5690 }, function(dist, nx, ny, p0, p1, pt, me) argument
5693 var l = mxUtils.ptLineDist(p0.x, p0.y, p0.x + ny, p0.y - nx, pt.x, pt.y);
5723 …th', mxConstants.STYLE_STARTSIZE, mxConstants.STYLE_ENDSIZE], false, function(dist, nx, ny, p0, p1) argument
5728 return new mxPoint(p0.x + nx * (l + state.shape.strokewidth * state.view.scale) - ny * w / 2,
5729 p0.y + ny * (l + state.shape.strokewidth * state.view.scale) + nx * w / 2);
5730 }, function(dist, nx, ny, p0, p1, pt, me) argument
5733 var l = mxUtils.ptLineDist(p0.x, p0.y, p0.x + ny, p0.y - nx, pt.x, pt.y);
5754 …th', mxConstants.STYLE_STARTSIZE, mxConstants.STYLE_ENDSIZE], false, function(dist, nx, ny, p0, p1) argument
5759 return new mxPoint(p0.x + nx * (l + state.shape.strokewidth * state.view.scale) - ny * w / 2,
5760 p0.y + ny * (l + state.shape.strokewidth * state.view.scale) + nx * w / 2);
5761 }, function(dist, nx, ny, p0, p1, pt, me) argument
5764 var l = mxUtils.ptLineDist(p0.x, p0.y, p0.x + ny, p0.y - nx, pt.x, pt.y);