Lines Matching refs:dx

782 …var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'tabWidth', this.tabWidth…
796 dx = Math.max(dx, arcSize);
797 dx = Math.min(w - arcSize, dx);
810 c.lineTo(dx, 0);
811 c.lineTo(dx, dy);
816 c.moveTo(w - dx, dy);
817 c.lineTo(w - dx, 0);
936 var dx = 0;
940 dx = 10;
944 c.moveTo(dx, arcSize);
945 c.arcTo(arcSize, arcSize, 0, 0, 1, dx + arcSize, 0);
950 c.lineTo(dx + arcSize, h);
951 c.arcTo(arcSize, arcSize, 0, 0, 1, dx, h - arcSize);
1070 var dx = w * size;
1072 return new mxRectangle(rect.x + dx, rect.y, w - 2 * dx, h);
1247 …var dx = (fixed) ? Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'size', this.fi…
1249 …this.addPoints(c, [new mxPoint(0, h), new mxPoint(dx, 0), new mxPoint(w, 0), new mxPoint(w - dx, h…
1273 …var dx = (fixed) ? Math.max(0, Math.min(w * 0.5, parseFloat(mxUtils.getValue(this.style, 'size', t…
1275 …this.addPoints(c, [new mxPoint(0, h), new mxPoint(dx, 0), new mxPoint(w - dx, 0), new mxPoint(w, h…
1400 var dx = Math.abs(endX - this.lastX);
1402 var dist = Math.sqrt(dx * dx + dy * dy);
1427 var stepX = sign(endX - this.lastX) * dx / segs;
1430 var fx = dx / dist;
1709 …var dx = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'position', this.posi…
1714 new mxPoint(Math.min(w, dx + base), h - s), new mxPoint(dx2, h),
1715 new mxPoint(Math.max(0, dx), h - s), new mxPoint(0, h - s)],
2373 var dx = (fixed) ? Math.max(0, Math.min(w * 0.5, size)) : w * Math.max(0, Math.min(1, size));
2374 points = [new mxPoint(x + dx, y), new mxPoint(x + w, y),
2375 new mxPoint(x + w - dx, y + h), new mxPoint(x, y + h), new mxPoint(x + dx, y)];
2428 var dx = (fixed) ? Math.max(0, Math.min(w * 0.5, size)) : w * Math.max(0, Math.min(1, size));
2429 points = [new mxPoint(x + dx, y), new mxPoint(x + w - dx, y),
2430 new mxPoint(x + w, y + h), new mxPoint(x, y + h), new mxPoint(x + dx, y)];
2434 var dx = (fixed) ? Math.max(0, Math.min(w, size)) : w * Math.max(0, Math.min(1, size));
2436 new mxPoint(x + w - dx, y + h), new mxPoint(x + dx, y + h), new mxPoint(x, y)];
2504 var dx = (fixed) ? Math.max(0, Math.min(w, size)) : w * Math.max(0, Math.min(1, size));
2505 points = [new mxPoint(x, y), new mxPoint(x + w - dx, y), new mxPoint(x + w, cy),
2506 new mxPoint(x + w - dx, y + h), new mxPoint(x, y + h),
2507 new mxPoint(x + dx, cy), new mxPoint(x, y)];
2511 var dx = (fixed) ? Math.max(0, Math.min(w, size)) : w * Math.max(0, Math.min(1, size));
2512 points = [new mxPoint(x + dx, y), new mxPoint(x + w, y), new mxPoint(x + w - dx, cy),
2513 new mxPoint(x + w, y + h), new mxPoint(x + dx, y + h),
2514 new mxPoint(x, cy), new mxPoint(x + dx, y)];
2590 var dx = (fixed) ? Math.max(0, Math.min(w, size)) : w * Math.max(0, Math.min(1, size));
2591 points = [new mxPoint(x + dx, y), new mxPoint(x + w - dx, y), new mxPoint(x + w, cy),
2592 new mxPoint(x + w - dx, y + h), new mxPoint(x + dx, y + h),
2593 new mxPoint(x, cy), new mxPoint(x + dx, y)];
2725 var dx = parseFloat(mxUtils.getValue(this.style, 'jettyWidth', this.jettyWidth));
2727 var x0 = dx / 2;
2728 var x1 = x0 + dx / 2;
2775 var dx = parseFloat(mxUtils.getValue(this.style, 'jettyWidth', this.jettyWidth));
2777 var x0 = dx / 2;
2778 var x1 = x0 + dx / 2;
2957 InternalStorageShape.prototype.dx = 20; method in InternalStorageShape
2975 var dx = Math.max(inset, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
2985 c.moveTo(x + dx, y);
2986 c.lineTo(x + dx, y + h);
2999 CornerShape.prototype.dx = 20; method in CornerShape
3005 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
3010 this.addPoints(c, [new mxPoint(0, 0), new mxPoint(w, 0), new mxPoint(w, dy), new mxPoint(dx, dy),
3011 new mxPoint(dx, h), new mxPoint(0, h)], this.isRounded, arcSize, true);
3047 TeeShape.prototype.dx = 20; method in TeeShape
3053 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
3055 var w2 = Math.abs(w - dx) / 2;
3059 …this.addPoints(c, [new mxPoint(0, 0), new mxPoint(w, 0), new mxPoint(w, dy), new mxPoint((w + dx) …
3060 … new mxPoint((w + dx) / 2, h), new mxPoint((w - dx) / 2, h), new mxPoint((w - dx) / 2, dy),
3478 var dx = Math.min(w, h / 2);
3480 c.lineTo(w - dx, 0);
3482 c.quadTo(w, h, w - dx, h);
3533 var dx = Math.min(w, h / 2);
3534 …var s = Math.min(w - dx, Math.max(0, parseFloat(mxUtils.getValue(this.style, 'size', this.size))) …
3538 c.lineTo(w - dx, 0);
3540 c.quadTo(w, h, w - dx, h);
5589 var dx = (start) ? p1.x - p0.x : p1.x - p0.x;
5592 var dist = Math.sqrt(dx * dx + dy * dy);
5594 var pt = getPosition.call(this, dist, dx / dist, dy / dist, p0, p1);
5607 var dx = (start) ? p1.x - p0.x : p1.x - p0.x;
5610 var dist = Math.sqrt(dx * dx + dy * dy);
5614 setPosition.call(this, dist, dx / dist, dy / dist, p0, p1, pt, me);
6036 …var dx = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'dx', InternalStora…
6039 return new mxPoint(bounds.x + dx, bounds.y + dy);
6057 …var dx = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'jettyWidth', Modul…
6060 return new mxPoint(bounds.x + dx / 2, bounds.y + dy * 2);
6073 …var dx = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'dx', CornerShape.p…
6076 return new mxPoint(bounds.x + dx, bounds.y + dy);
6087 …var dx = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'dx', TeeShape.prot…
6090 return new mxPoint(bounds.x + (bounds.width + dx) / 2, bounds.y + dy);
6420 var dx = (w - m) / 2;
6423 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx, dy + 0.25 * m));
6424 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx + 0.5 * m, dy + m * tan3…
6425 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx + m, dy + 0.25 * m));
6426 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx + m, dy + 0.75 * m));
6427 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx + 0.5 * m, dy + (1 - tan…
6428 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx, dy + 0.75 * m));
6456 …var dx = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'position', this.posi…
6605 …var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'tabWidth', this.tabWidth…
6612 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx * 0.5, 0));
6613 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx, 0));
6614 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx, dy));
6615 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + dx) * 0.5, dy));
6620 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx * 0.5, 0));
6621 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx, 0));
6622 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx, dy));
6623 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - dx) * 0.5, dy));
6655 var dx = Math.min(w, h / 2);
6656 …var s = Math.min(w - dx, Math.max(0, parseFloat(mxUtils.getValue(this.style, 'size', this.size))) …
6660 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (s + w - dx) * 0.5, 0));
6661 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx, 0));
6663 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx, h));
6664 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (s + w - dx) * 0.5, h));
6833 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
6835 var w2 = Math.abs(w - dx) / 2;
6842 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.75 + dx * 0.25, dy));
6843 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + dx) * 0.5, dy));
6844 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + dx) * 0.5, (h + dy) * …
6845 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + dx) * 0.5, h));
6847 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - dx) * 0.5, h));
6848 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - dx) * 0.5, (h + dy) * …
6849 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - dx) * 0.5, dy));
6850 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.25 - dx * 0.25, dy));
6860 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
6868 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + dx) * 0.5, dy));
6869 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx, dy));
6870 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx, (h + dy) * 0.5));
6871 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx, h));
6872 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx * 0.5, h));