Lines Matching refs:w

33 mxShapeBasicCross.prototype.paintVertexShape = function(c, x, y, w, h)  argument
37 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
40 c.moveTo(w * 0.5 + dx, 0);
41 c.lineTo(w * 0.5 + dx, h * 0.5 - dx);
42 c.lineTo(w, h * 0.5 - dx);
43 c.lineTo(w, h * 0.5 + dx);
44 c.lineTo(w * 0.5 + dx, h * 0.5 + dx);
45 c.lineTo(w * 0.5 + dx, h);
46 c.lineTo(w * 0.5 - dx, h);
47 c.lineTo(w * 0.5 - dx, h * 0.5 + dx);
50 c.lineTo(w * 0.5 - dx, h * 0.5 - dx);
51 c.lineTo(w * 0.5 - dx, 0);
109 mxShapeBasicRectCallout.prototype.paintVertexShape = function(c, x, y, w, h) argument
113 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
120 c.lineTo(w, 0);
121 c.lineTo(w, h - dy);
158 mxShapeBasicRectCallout.prototype.getConstraints = function(style, w, h) argument
161 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
169 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - dy) * 0.5));
170 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h - dy));
216 mxShapeBasicRoundRectCallout.prototype.paintVertexShape = function(c, x, y, w, h) argument
220 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
224 r = Math.min((h - dy) / 2, w / 2, r);
226 dx = Math.min(w - r - dy * 0.5, dx);
234 c.lineTo(w - r, 0);
235 c.arcTo(r, r, 0, 0, 1, w, r);
236 c.lineTo(w, h - dy - r);
237 c.arcTo(r, r, 0, 0, 1, w - r, h - dy);
274 mxShapeBasicRoundRectCallout.prototype.getConstraints = function(style, w, h) argument
277 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
281 r = Math.min((h - dy) / 2, w / 2, r);
283 dx = Math.min(w - r - dy * 0.5, dx);
285 if (r < w * 0.25)
293 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - dy) * 0.25));
294 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - dy) * 0.75));
301 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - r * 0.293, r * 0.293));
302 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - dy) * 0.5));
304 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - r * 0.293, h - dy - r *…
343 mxShapeBasicWave.prototype.paintVertexShape = function(c, x, y, w, h) argument
352 c.quadTo(w / 6, dy * (1 - fy), w / 3, dy / 2);
353 c.quadTo(w / 2, dy * fy, w * 2 / 3, dy / 2);
354 c.quadTo(w * 5 / 6, dy * (1 - fy), w, dy / 2);
355 c.lineTo(w, h - dy / 2);
356 c.quadTo(w * 5 / 6, h - dy * fy, w * 2 / 3, h - dy / 2);
357 c.quadTo(w / 2, h - dy * (1 - fy), w / 3, h - dy / 2);
358 c.quadTo(w / 6, h - dy * fy, 0, h - dy / 2);
382 mxShapeBasicWave.prototype.getConstraints = function(style, w, h) argument
389 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w / 6, h * 0.015));
390 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w / 3, dy * 0.5));
391 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.5, dy * 0.95));
392 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.67, dy * 0.5));
393 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.83, h * 0.015));
394 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, dy * 0.5));
395 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h * 0.5));
396 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h - dy * 0.5));
397 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.83, h - dy * 0.95));
398 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.67, h - dy * 0.5));
399 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.5, h - dy * 0.04));
400 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w / 3, h - dy * 0.5));
401 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w / 6, h - dy * 0.95));
440 mxShapeBasicOctagon.prototype.paintVertexShape = function(c, x, y, w, h) argument
444 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx)))) * 2;
446 dx = Math.min(w * 0.5, h * 0.5, dx);
450 c.lineTo(w - dx, 0);
451 c.lineTo(w, dx);
452 c.lineTo(w, h - dx);
453 c.lineTo(w - dx, h);
480 mxShapeBasicOctagon.prototype.getConstraints = function(style, w, h) argument
483 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx)))) * 2;
485 dx = Math.min(w * 0.5, h * 0.5, dx) * 0.5;
492 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx, dx));
493 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx, h - dx));
531 mxShapeBasicIsoCube.prototype.paintVertexShape = function(c, x, y, w, h) argument
536 var isoH = Math.min(w * Math.tan(isoAngle), h * 0.5);
539 c.moveTo(w * 0.5, 0);
540 c.lineTo(w, isoH);
541 c.lineTo(w, h - isoH);
542 c.lineTo(w * 0.5, h);
552 c.lineTo(w * 0.5, 2 * isoH);
553 c.lineTo(w, isoH);
554 c.moveTo(w * 0.5, 2 * isoH);
555 c.lineTo(w * 0.5, h);
579 mxShapeBasicIsoCube.prototype.getConstraints = function(style, w, h) argument
583 var isoH = Math.min(w * Math.tan(isoAngle), h * 0.5);
586 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, isoH));
588 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h - isoH));
629 mxShapeBasicTriangleAcute.prototype.paintVertexShape = function(c, x, y, w, h) argument
633 var dx = w * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
638 c.lineTo(w, h);
662 mxShapeBasicTriangleAcute.prototype.getConstraints = function(style, w, h) argument
665 var dx = w * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
672 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - (w - dx) * 0.5, h * 0.5…
709 mxShapeBasicTriangleObtuse.prototype.paintVertexShape = function(c, x, y, w, h) argument
713 var dx = w * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
718 c.lineTo(w, h);
742 mxShapeBasicTriangleObtuse.prototype.getConstraints = function(style, w, h) argument
745 var dx = w * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
749 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.5, h * 0.5));
750 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + dx) * 0.5, h));
784 mxShapeBasicDrop.prototype.paintVertexShape = function(c, x, y, w, h) argument
788 var r = Math.min(h, w) * 0.5;
798 c.moveTo(w * 0.5, 0);
799 c.lineTo(w * 0.5 + x1, h - r - y1);
800 c.arcTo(r, r, 0, 0, 1, w * 0.5 + r, h - r);
801 c.arcTo(r, r, 0, 0, 1, w * 0.5, h);
802 c.arcTo(r, r, 0, 0, 1, w * 0.5 - r, h - r);
803 c.arcTo(r, r, 0, 0, 1, w * 0.5 - x1, h - r - y1);
846 mxShapeBasicCone2.prototype.paintVertexShape = function(c, x, y, w, h) argument
850 var dx = w * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
860 c.lineTo(w, h - ry);
861 c.arcTo(w * 0.5, ry, 0, 0, 1, w * 0.5, h);
862 c.arcTo(w * 0.5, ry, 0, 0, 1, 0, h - ry);
866 c.lineTo(w, h);
905 mxShapeBasicCone2.prototype.getConstraints = function(style, w, h) argument
908 var dx = w * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
913 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h - ry));
914 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.5, h));
958 mxShapeBasicPyramid.prototype.paintVertexShape = function(c, x, y, w, h) argument
962 var dx1 = w * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx1', this.dx1))));
963 var dx2 = w * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx2', this.dx2))));
969 c.lineTo(w, dy2);
1038 mxShapeBasicPyramid.prototype.getConstraints = function(style, w, h) argument
1041 var dx1 = w * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx1', this.dx1))));
1042 var dx2 = w * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx2', this.dx2))));
1047 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + dx1) * 0.5, dy2 * 0.5)…
1048 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, dy2));
1049 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + dx2) * 0.5, (h + dy2) …
1090 mxShapeBasic4PointStar2.prototype.paintVertexShape = function(c, x, y, w, h) argument
1094 var dx = 0.5 * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1098 c.lineTo(dx * w, dx * h);
1099 c.lineTo(w * 0.5, 0);
1100 c.lineTo(w - dx * w, dx * h);
1101 c.lineTo(w, h * 0.5);
1102 c.lineTo(w - dx * w, h - dx * h);
1103 c.lineTo(w * 0.5, h);
1104 c.lineTo(dx * w, h - dx * h);
1128 mxShapeBasic4PointStar2.prototype.getConstraints = function(style, w, h) argument
1131 var dx = 0.5 * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1177 mxShapeBasicDiagSnipRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
1181 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx)))) * 2;
1183 dx = Math.min(w * 0.5, h * 0.5, dx);
1187 c.lineTo(w, 0);
1188 c.lineTo(w, h - dx);
1189 c.lineTo(w - dx, h);
1215 mxShapeBasicDiagSnipRect.prototype.getConstraints = function(style, w, h) argument
1218 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx)))) * 2;
1220 dx = Math.min(w * 0.5, h * 0.5, dx) * 0.5;
1226 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx, h - dx));
1266 mxShapeBasicDiagRoundRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
1270 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx)))) * 2;
1272 dx = Math.min(w * 0.5, h * 0.5, dx);
1276 c.lineTo(w, 0);
1277 c.lineTo(w, h - dx);
1278 c.arcTo(dx, dx, 0, 0, 1, w - dx, h);
1305 mxShapeBasicDiagRoundRect.prototype.getConstraints = function(style, w, h) argument
1351 mxShapeBasicCornerRoundRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
1355 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx)))) * 2;
1357 dx = Math.min(w * 0.5, h * 0.5, dx);
1361 c.lineTo(w, 0);
1362 c.lineTo(w, h);
1389 mxShapeBasicCornerRoundRect.prototype.getConstraints = function(style, w, h) argument
1436 mxShapeBasicPlaque.prototype.paintVertexShape = function(c, x, y, w, h) argument
1440 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx)))) * 2;
1442 dx = Math.min(w * 0.5, h * 0.5, dx);
1445 c.moveTo(w - dx, 0);
1446 c.arcTo(dx, dx, 0, 0, 0, w, dx);
1447 c.lineTo(w, h - dx);
1448 c.arcTo(dx, dx, 0, 0, 0, w - dx, h);
1476 mxShapeBasicPlaque.prototype.getConstraints = function(style, w, h) argument
1520 mxShapeBasicFrame.prototype.paintVertexShape = function(c, x, y, w, h) argument
1524 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1526 dx = Math.min(w * 0.5, h * 0.5, dx);
1529 c.moveTo(w, 0);
1530 c.lineTo(w, h);
1536 c.lineTo(w - dx, h - dx);
1537 c.lineTo(w - dx, dx);
1561 mxShapeBasicFrame.prototype.getConstraints = function(style, w, h) argument
1564 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1565 dx = Math.min(w * 0.5, h * 0.5, dx);
1568 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.25, 0));
1570 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.75, 0));
1572 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h * 0.25));
1574 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h * 0.75));
1576 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.75, h));
1578 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.25, h));
1584 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - 2 * dx)* 0.25 + dx, dx…
1586 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w * 1.5 - dx) * 0.5, dx));
1588 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx, (h - 2 * dx)* 0.25 …
1590 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx, (h - 2 * dx) * 0.7…
1592 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - 2 * dx) * 0.75 + dx, h…
1594 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - 2 * dx) * 0.25 + dx, …
1634 mxShapeBasicPlaqueFrame.prototype.paintVertexShape = function(c, x, y, w, h) argument
1638 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1640 dx = Math.min(w * 0.25, h * 0.25, dx);
1643 c.moveTo(w - dx, 0);
1644 c.arcTo(dx, dx, 0, 0, 0, w, dx);
1645 c.lineTo(w, h - dx);
1646 c.arcTo(dx, dx, 0, 0, 0, w - dx, h);
1657 c.lineTo(w - 2 * dx, h - dx);
1658 c.arcTo(dx * 2, dx * 2, 0, 0, 1, w - dx, h - 2 * dx);
1659 c.lineTo(w - dx, dx * 2);
1660 c.arcTo(dx * 2, dx * 2, 0, 0, 1, w - 2 * dx, dx);
1686 mxShapeBasicPlaqueFrame.prototype.getConstraints = function(style, w, h) argument
1689 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1690 dx = Math.min(w * 0.5, h * 0.5, dx);
1736 mxShapeBasicRoundedFrame.prototype.paintVertexShape = function(c, x, y, w, h) argument
1740 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1742 dx = Math.min(w * 0.25, h * 0.25, dx);
1745 c.moveTo(w - 2 * dx, 0);
1746 c.arcTo(dx * 2, dx * 2, 0, 0, 1, w, 2 * dx);
1747 c.lineTo(w, h - 2 * dx);
1748 c.arcTo(dx * 2, dx * 2, 0, 0, 1, w - 2 * dx, h);
1759 c.lineTo(w - 2 * dx, h - dx);
1760 c.arcTo(dx, dx, 0, 0, 0, w - dx, h - 2 * dx);
1761 c.lineTo(w - dx, dx * 2);
1762 c.arcTo(dx, dx, 0, 0, 0, w - 2 * dx, dx);
1788 mxShapeBasicRoundedFrame.prototype.getConstraints = function(style, w, h) argument
1791 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1792 dx = Math.min(w * 0.5, h * 0.5, dx);
1838 mxShapeBasicFrameCorner.prototype.paintVertexShape = function(c, x, y, w, h) argument
1842 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1844 dx = Math.min(w * 0.5, h * 0.5, dx);
1848 c.lineTo(w, 0);
1849 c.lineTo(w - dx, dx);
1876 mxShapeBasicFrameCorner.prototype.getConstraints = function(style, w, h) argument
1879 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1881 dx = Math.min(w * 0.5, h * 0.5, dx);
1887 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - 2 * dx) * 0.5 + dx, dx…
1929 mxShapeBasicDiagStripe.prototype.paintVertexShape = function(c, x, y, w, h) argument
1933 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1935 dx = Math.min(w, h, dx);
1939 c.lineTo(w, 0);
1940 c.lineTo(w, Math.min(dx * 100 / w, h));
1941 c.lineTo(Math.min(dx * 100 / h, w), h);
1965 mxShapeBasicDiagStripe.prototype.getConstraints = function(style, w, h) argument
1968 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1969 dx = Math.min(w, h, dx);
1974 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, Math.min(dx * 100 / w, h…
1975 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, Math.min(dx * 100 / w, h…
1976 …onConstraint(new mxPoint(0, 0), false, null, (w + Math.min(dx * 100 / h, w)) * 0.5, (Math.min(dx *…
1977 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, Math.min(dx * 100 / h, w), …
1978 …constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, Math.min(dx * 100 / h, w) *…
2015 mxShapeBasicDonut.prototype.paintVertexShape = function(c, x, y, w, h) argument
2019 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
2021 dx = Math.min(w * 0.5, h * 0.5, dx);
2025 c.arcTo(w * 0.5, h * 0.5, 0, 0, 1, w * 0.5, 0);
2026 c.arcTo(w * 0.5, h * 0.5, 0, 0, 1, w, h * 0.5);
2027 c.arcTo(w * 0.5, h * 0.5, 0, 0, 1, w * 0.5, h);
2028 c.arcTo(w * 0.5, h * 0.5, 0, 0, 1, 0, h * 0.5);
2030 c.moveTo(w * 0.5, dx);
2031 c.arcTo(w * 0.5 - dx, h * 0.5 - dx, 0, 0, 0, dx, h * 0.5);
2032 c.arcTo(w * 0.5 - dx, h * 0.5 - dx, 0, 0, 0, w * 0.5, h - dx);
2033 c.arcTo(w * 0.5 - dx, h * 0.5 - dx, 0, 0, 0, w - dx, h * 0.5);
2034 c.arcTo(w * 0.5 - dx, h * 0.5 - dx, 0, 0, 0, w * 0.5, dx);
2090 mxShapeBasicLayeredRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
2094 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
2096 dx = Math.min(w * 0.5, h * 0.5, dx);
2100 c.lineTo(w, dx);
2101 c.lineTo(w, h);
2108 c.lineTo(w - dx * 0.5, dx * 0.5);
2109 c.lineTo(w - dx * 0.5, h - dx * 0.5);
2116 c.lineTo(w - dx, 0);
2117 c.lineTo(w - dx, h - dx);
2142 mxShapeBasicLayeredRect.prototype.getConstraints = function(style, w, h) argument
2145 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
2146 dx = Math.min(w * 0.5, h * 0.5, dx);
2149 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - dx) * 0.25, 0));
2150 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - dx) * 0.5, 0));
2151 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - dx) * 0.75, 0));
2152 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx, 0));
2153 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - dx * 0.5, dx * 0.5));
2154 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, dx));
2155 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - dx) * 0.25 + dx));
2156 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - dx) * 0.5 + dx));
2157 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - dx) * 0.75 + dx));
2158 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h));
2159 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - dx) * 0.75 + dx, h));
2160 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - dx) * 0.5 + dx, h));
2161 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - dx) * 0.25 + dx, h));
2204 mxShapeBasicButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
2208 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
2210 dx = Math.min(w * 0.5, h * 0.5, dx);
2214 c.lineTo(w, 0);
2215 c.lineTo(w, h);
2233 c.lineTo(w, 0);
2234 c.lineTo(w - dx, dx);
2240 c.moveTo(w, 0);
2241 c.lineTo(w, h);
2242 c.lineTo(w - dx, h - dx);
2243 c.lineTo(w - dx, dx);
2250 c.lineTo(w - dx, h - dx);
2251 c.lineTo(w, h);
2317 mxShapeBasicShadedButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
2323 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
2325 dx = Math.min(w * 0.5, h * 0.5, dx);
2329 c.lineTo(w, 0);
2330 c.lineTo(w, h);
2348 c.lineTo(w, 0);
2349 c.lineTo(w - dx, dx);
2357 c.moveTo(w, 0);
2358 c.lineTo(w, h);
2359 c.lineTo(w - dx, h - dx);
2360 c.lineTo(w - dx, dx);
2368 c.lineTo(w - dx, h - dx);
2369 c.lineTo(w, h);
2429 mxShapeBasicPie.prototype.paintVertexShape = function(c, x, y, w, h) argument
2436 var rx = w * 0.5;
2466 c.arcTo(rx, ry, 0, 0, 1, w, h * 0.5);
2467 c.arcTo(rx, ry, 0, 0, 1, w * 0.5, h);
2474 c.arcTo(rx, ry, 0, 0, 1, w * 0.5, 0);
2573 mxShapeBasicArc.prototype.paintVertexShape = function(c, x, y, w, h) argument
2581 var rx = w * 0.5;
2611 c.arcTo(rx, ry, 0, 0, 1, w, h * 0.5);
2612 c.arcTo(rx, ry, 0, 0, 1, w * 0.5, h);
2618 c.arcTo(rx, ry, 0, 0, 1, w * 0.5, 0);
2717 mxShapeBasicPartConcEllipse.prototype.paintVertexShape = function(c, x, y, w, h) argument
2724 var rx = w * 0.5;
2858 mxShapeBasicNumEntryVert.prototype.paintVertexShape = function(c, x, y, w, h) argument
2862 var dy = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dy', this.dy))));
2866 var d = Math.min(dy, w - 2 * inset, h - inset);
2868 c.ellipse(w * 0.5 - d * 0.5, 0, d, d);
2873 c.lineTo(w * 0.5 - d * 0.5 - inset, d * 0.5);
2874 c.arcTo(d * 0.5 + inset, d * 0.5 + inset, 0, 0, 0, w * 0.5 + d * 0.5 + inset, d * 0.5);
2875 c.lineTo(w, d * 0.5);
2876 c.lineTo(w, h);
2931 mxShapeBasicBendingArch.prototype.paintVertexShape = function(c, x, y, w, h) argument
2938 var rx = w * 0.5;
2969 c.ellipse(w * 0.5 - rx3, h * 0.5 - ry3, 2 * rx3, 2 * ry3);
3077 mxShapeBasicThreeCornerRoundRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
3081 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx)))) * 2;
3083 dx = Math.min(w * 0.5, h * 0.5, dx);
3087 c.lineTo(w - dx, 0);
3088 c.arcTo(dx, dx, 0, 0, 1, w, dx);
3089 c.lineTo(w, h - dx);
3090 c.arcTo(dx, dx, 0, 0, 1, w - dx, h);
3117 mxShapeBasicThreeCornerRoundRect.prototype.getConstraints = function(style, w, h) argument
3163 mxShapeBasicPolygon.prototype.paintVertexShape = function(c, x, y, w, h) argument
3174 c.moveTo(coords[0][0] * w, coords[0][1] * h);
3178 c.lineTo(coords[i][0] * w, coords[i][1] * h);
3283 mxShapeBasicPatternFillRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
3290 c.rect(0, 0, w, h);
3309 while (i < (h + w))
3318 if(i <= w)
3324 c.lineTo(w, i - w);
3331 if(i <= w)
3337 c.lineTo(w, i - w);
3351 while (i <= w)
3376 while (i < (h + w))
3383 c.moveTo(w, i);
3385 if(i <= w)
3387 c.lineTo(w - i, 0);
3391 c.lineTo(w - w, i - w);
3396 c.moveTo(w - i + h, h);
3398 if(i <= w)
3400 c.lineTo(w - i, 0);
3404 c.lineTo(0, i - w);
3424 c.lineTo(w, i);
3440 c.lineTo(w, 0);
3444 c.moveTo(w, 0);
3449 c.lineTo(w, h);
3453 c.moveTo(w, h);
3476 mxShapeBasicPatternFillRect.prototype.getConstraints = function(style, w, h) argument