Lines Matching refs:pt

5180 		var pt = pe.clone();
5190 c.ellipse(pt.x - unitX - size, pt.y - unitY - size, 2 * size, 2 * size);
5206 var pt = pe.clone();
5216 c.moveTo(pt.x - unitX * (sw), pt.y - unitY * (sw));
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);
5229 var pt = pe.clone();
5237 c.moveTo(pt.x - ny, pt.y + nx);
5239 c.quadTo(pe.x + ny, pe.y - nx, pt.x + ny, pt.y - nx);
5255 var pt = pe.clone();
5256 pt.x -= endOffsetX;
5257 pt.y -= endOffsetY;
5266 c.moveTo(pt.x, pt.y);
5270 c.lineTo(pt.x - unitX - unitY / 2, pt.y - unitY + unitX / 2);
5274 c.lineTo(pt.x + unitY / 2 - unitX, pt.y - unitY - unitX / 2);
5277 c.lineTo(pt.x - unitX, pt.y - unitY);
5300 var pt = pe.clone();
5305 c.moveTo(pt.x, pt.y);
5309 c.lineTo(pt.x - unitX - unitY / widthFactor, pt.y - unitY + unitX / widthFactor);
5313 c.lineTo(pt.x + unitY / widthFactor - unitX, pt.y - unitY - unitX / widthFactor);
5334 var pt = pe.clone();
5335 pt.x -= endOffsetX;
5336 pt.y -= endOffsetY;
5345 canvas.moveTo(pt.x, pt.y);
5346 canvas.lineTo(pt.x - unitX - unitY / widthFactor, pt.y - unitY + unitX / widthFactor);
5350 canvas.lineTo(pt.x - unitX * 3 / 4, pt.y - unitY * 3 / 4);
5353 canvas.lineTo(pt.x + unitY / widthFactor - unitX, pt.y - unitY - unitX / widthFactor);
5429 }, function(bounds, pt, me) argument
5434 (bounds.x + bounds.width - pt.x) * 2)));
5438 var f = Math.min(50, Math.max(0, (bounds.width - pt.x + bounds.x) * 100 /
5472 }, function(bounds, pt)
5475 …var size = (fixed) ? (pt.x - bounds.x) : Math.max(0, Math.min(max, (pt.x - bounds.x) / bounds.widt…
5501 }, function(bounds, pt, me)
5504 …var size = (fixed) ? (pt.x - bounds.x) : Math.max(0, Math.min(max, (pt.x - bounds.x) / bounds.widt…
5528 }, function(bounds, pt)
5530 …this.state.style['size'] = Math.round(Math.max(0, Math.min(Math.min(bounds.width, pt.x - bounds.x),
5531 Math.min(bounds.height, pt.y - bounds.y))) / factor);
5552 }, function(bounds, pt) argument
5554 this.state.style['size'] = Math.max(0, pt.y - bounds.y);
5569 }, function(bounds, pt) argument
5571 …wWidth'] = Math.max(0, Math.min(1, Math.abs(bounds.y + bounds.height / 2 - pt.y) / bounds.height *…
5572 …this.state.style['arrowSize'] = Math.max(0, Math.min(maxSize, (bounds.x + bounds.width - pt.x) / (…
5594 var pt = getPosition.call(this, dist, dx / dist, dy / dist, p0, p1);
5596 return new mxPoint(pt.x / s - tr.x, pt.y / s - tr.y);
5597 }, function(bounds, pt, me) argument
5611 pt.x = (pt.x + tr.x) * s;
5612 pt.y = (pt.y + tr.y) * s;
5614 setPosition.call(this, dist, dx / dist, dy / dist, p0, p1, pt, me);
5625 }, function(dist, nx, ny, p0, p1, pt) argument
5627 var w = Math.sqrt(mxUtils.ptSegDistSq(p0.x, p0.y, p1.x, p1.y, pt.x, pt.y));
5659 }, function(dist, nx, ny, p0, p1, pt, me) argument
5661 var w = Math.sqrt(mxUtils.ptSegDistSq(p0.x, p0.y, p1.x, p1.y, pt.x, pt.y));
5662 var l = mxUtils.ptLineDist(p0.x, p0.y, p0.x + ny, p0.y - nx, pt.x, pt.y);
5690 }, function(dist, nx, ny, p0, p1, pt, me) argument
5692 var w = Math.sqrt(mxUtils.ptSegDistSq(p0.x, p0.y, p1.x, p1.y, pt.x, pt.y));
5693 var l = mxUtils.ptLineDist(p0.x, p0.y, p0.x + ny, p0.y - nx, pt.x, pt.y);
5730 }, function(dist, nx, ny, p0, p1, pt, me) argument
5732 var w = Math.sqrt(mxUtils.ptSegDistSq(p0.x, p0.y, p1.x, p1.y, pt.x, pt.y));
5733 var l = mxUtils.ptLineDist(p0.x, p0.y, p0.x + ny, p0.y - nx, pt.x, pt.y);
5761 }, function(dist, nx, ny, p0, p1, pt, me) argument
5763 var w = Math.sqrt(mxUtils.ptSegDistSq(p0.x, p0.y, p1.x, p1.y, pt.x, pt.y));
5764 var l = mxUtils.ptLineDist(p0.x, p0.y, p0.x + ny, p0.y - nx, pt.x, pt.y);
5817 }, function(bounds, pt) argument
5821 Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y))) :
5822 Math.round(Math.max(0, Math.min(bounds.width, pt.x - bounds.x)));
5867 }, function(bounds, pt) argument
5869 this.state.style['size'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y)));
5880 }, function(bounds, pt)
5882 …width'] = Math.round(Math.max(UmlFrame.prototype.corner, Math.min(bounds.width, pt.x - bounds.x)));
5883 … = Math.round(Math.max(UmlFrame.prototype.corner * 1.5, Math.min(bounds.height, pt.y - bounds.y)));
5897 }, function(bounds, pt)
5900 …fixed) ? Math.max(0, Math.min(bounds.width * 0.5, (pt.x - bounds.x))) : Math.max(0, Math.min(0.5, …
5919 }, function(bounds, pt) argument
5922 …style['size'] = Math.max(0, Math.min(1, Math.min((Math.max(0, bounds.getCenterY() - pt.y) / m) * 2,
5923 (Math.max(0, bounds.getCenterX() - pt.x) / m) * 2)));
5934 }, function(bounds, pt) argument
5936 …e['size'] = Math.round(Math.max(0, Math.min(Math.min(bounds.width, bounds.x + bounds.width - pt.x),
5937 Math.min(bounds.height, pt.y - bounds.y))));
5948 }, function(bounds, pt) argument
5950 …e['size'] = Math.round(Math.max(0, Math.min(Math.min(bounds.width, bounds.x + bounds.width - pt.x),
5951 Math.min(bounds.height, pt.y - bounds.y))));
5961 }, function(bounds, pt)
5963 …this.state.style['size'] = Math.round(Math.max(0, Math.min(bounds.height, (pt.y - bounds.y) * 4 / …
5981 }, function(bounds, pt) argument
5984 …min(bounds.width, (bounds.x + bounds.width - pt.x))) : Math.max(0, Math.min(1, (bounds.x + bounds.…
5998 }, function(bounds, pt)
6001 ….style['size'] = Math.round(Math.max(0, Math.min(bounds.height, bounds.y + bounds.height - pt.y)));
6002 …this.state.style['position'] = Math.round(Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.width…
6008 }, function(bounds, pt)
6010 …this.state.style['position2'] = Math.round(Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.widt…
6018 }, function(bounds, pt)
6022 …this.state.style['base'] = Math.round(Math.max(0, Math.min(bounds.width, pt.x - bounds.x - positio…
6040 }, function(bounds, pt)
6042 this.state.style['dx'] = Math.round(Math.max(0, Math.min(bounds.width, pt.x - bounds.x)));
6043 this.state.style['dy'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y)));
6061 }, function(bounds, pt)
6063 …this.state.style['jettyWidth'] = Math.round(Math.max(0, Math.min(bounds.width, pt.x - bounds.x)) *…
6064 …this.state.style['jettyHeight'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y))…
6077 }, function(bounds, pt) argument
6079 this.state.style['dx'] = Math.round(Math.max(0, Math.min(bounds.width, pt.x - bounds.x)));
6080 this.state.style['dy'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y)));
6091 }, function(bounds, pt) argument
6093 …this.state.style['dx'] = Math.round(Math.max(0, Math.min(bounds.width / 2, (pt.x - bounds.x - boun…
6094 this.state.style['dy'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y)));
6112 }, function(bounds, pt) argument
6114 var tw = Math.max(0, Math.min(bounds.width, pt.x - bounds.x));
6122 … this.state.style['tabHeight'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y)));
6132 }, function(bounds, pt) argument
6134 …this.state.style['size'] = Math.max(0, Math.min(1, (bounds.y + bounds.height - pt.y) / bounds.heig…
6144 }, function(bounds, pt) argument
6146 this.state.style['size'] = Math.max(0, Math.min(1, ((pt.y - bounds.y) / bounds.height) * 2));
6157 }, function(bounds, pt) argument
6159 this.state.style['isoAngle'] = Math.max(0, (pt.y - bounds.y) * 50 / bounds.height);
6171 }, function(bounds, pt) argument
6173 …this.state.style['size'] = Math.max(0, Math.min(1, (bounds.y + bounds.height - pt.y) / bounds.heig…
6183 }, function(bounds, pt)
6185 …Math.round(100 * Math.max(0, Math.min(bounds.height / 2, bounds.width / 2, pt.x - bounds.x))) / 10…
6193 }, function(bounds, pt) argument
6195 …this.state.style['indent'] = Math.round(100 * Math.max(0, Math.min(100, 200 * (pt.y - bounds.y) / …
6314 var pt = (points != null && points.length > 0) ? points[0] : null;
6319 if (pt != null)
6321 pt = view.transformControlPoint(state, pt);
6385 if (pt == null)
6387 pt = new mxPoint(p0.x + (pe.x - p0.x) / 2, p0.y + (pe.y - p0.y) / 2);
6390 isoLineTo(pt.x, pt.y, true);