Lines Matching refs:w

11 	function paintTableBackground(state, c, x, y, w, h, r)  argument
87 c.lineTo(x + w - start.width, y + geo.y);
91 c.lineTo(x + w, b - r);
92 c.quadTo(x + w, b, x + w - r, b);
98 c.lineTo(x + w - start.width, b);
132 TableShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
149 this.paintForeground(c, x, y, w, h);
152 TableShape.prototype.paintForeground = function(c, x, y, w, h) argument
167 c.rotate(-this.getShapeRotation(), flipH, flipV, x + w / 2, y + h / 2);
172 w = this.bounds.width / s;
174 this.paintTableForeground(c, x, y, w, h);
178 TableShape.prototype.paintTableForeground = function(c, x, y, w, h) argument
233 c.lineTo(x + w - start.width, y + geo.y);
303 CubeShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
305 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
312 c.lineTo(w - s, 0);
313 c.lineTo(w, s);
314 c.lineTo(w, h);
332 c.lineTo(w - s, 0);
333 c.lineTo(w, s);
357 c.lineTo(w, s);
389 WaypointShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
393 c.ellipse(x + (w - s) * 0.5, y + (h - s) * 0.5, s, s);
397 c.rect(x, y, w, h);
410 IsoRectangleShape.prototype.redrawPath = function(path, x, y, w, h) argument
412 var m = Math.min(w, h / tan30);
414 path.translate((w - m) / 2, (h - m) / 2 + m / 4);
433 IsoCubeShape.prototype.redrawPath = function(path, x, y, w, h, isForeground) argument
435 var m = Math.min(w, h / (0.5 + tan30));
448 path.translate((w - m) / 2, (h - m) / 2);
469 DataStoreShape.prototype.redrawPath = function(c, x, y, w, h, isForeground) argument
476 c.curveTo(0, 2 * dy, w, 2 * dy, w, dy);
487 c.curveTo(0, 2 * dy, w, 2 * dy, w, dy);
498 c.curveTo(0, 2 * dy, w, 2 * dy, w, dy);
513 c.curveTo(0, -dy / 3, w, -dy / 3, w, dy);
514 c.lineTo(w, h - dy);
515 c.curveTo(w, h + dy / 3, 0, h + dy / 3, 0, h - dy);
536 NoteShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
538 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
544 c.lineTo(w - s, 0);
545 c.lineTo(w, s);
546 c.lineTo(w, h);
562 c.moveTo(w - s, 0);
563 c.lineTo(w - s, s);
564 c.lineTo(w, s);
570 c.moveTo(w - s, 0);
571 c.lineTo(w - s, s);
572 c.lineTo(w, s);
609 IsoCubeShape2.prototype.paintVertexShape = function(c, x, y, w, h) argument
612 var isoH = Math.min(w * Math.tan(isoAngle), h * 0.5);
617 c.moveTo(w * 0.5, 0);
618 c.lineTo(w, isoH);
619 c.lineTo(w, h - isoH);
620 c.lineTo(w * 0.5, h);
630 c.lineTo(w * 0.5, 2 * isoH);
631 c.lineTo(w, isoH);
632 c.moveTo(w * 0.5, 2 * isoH);
633 c.lineTo(w * 0.5, h);
649 CylinderShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
657 c.rect(0, 0, w, h);
664 c.arcTo(w * 0.5, size, 0, 0, 1, w * 0.5, 0);
665 c.arcTo(w * 0.5, size, 0, 0, 1, w, size);
666 c.lineTo(w, h - size);
667 c.arcTo(w * 0.5, size, 0, 0, 1, w * 0.5, h);
668 c.arcTo(w * 0.5, size, 0, 0, 1, 0, h - size);
675 c.moveTo(w, size);
676 c.arcTo(w * 0.5, size, 0, 0, 1, w * 0.5, 2 * size);
677 c.arcTo(w * 0.5, size, 0, 0, 1, 0, size);
698 CylinderShape3.prototype.paintVertexShape = function(c, x, y, w, h) argument
707 c.rect(0, 0, w, h);
717 c.arcTo(w * 0.5, size, 0, 0, 1, w * 0.5, 0);
718 c.arcTo(w * 0.5, size, 0, 0, 1, w, size);
723 c.arcTo(w * 0.5, size, 0, 0, 0, w * 0.5, size);
724 c.arcTo(w * 0.5, size, 0, 0, 0, w, 0);
727 c.lineTo(w, h - size);
728 c.arcTo(w * 0.5, size, 0, 0, 1, w * 0.5, h);
729 c.arcTo(w * 0.5, size, 0, 0, 1, 0, h - size);
738 c.moveTo(w, size);
739 c.arcTo(w * 0.5, size, 0, 0, 1, w * 0.5, 2 * size);
740 c.arcTo(w * 0.5, size, 0, 0, 1, 0, size);
754 SwitchShape.prototype.redrawPath = function(c, x, y, w, h) argument
758 c.quadTo(w / 2, h * curve, w, 0);
759 c.quadTo(w * (1 - curve), h / 2, w, h);
760 c.quadTo(w / 2, h * (1 - curve), 0, h);
761 c.quadTo(w * curve, h / 2, 0, 0);
778 FolderShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
782 …var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'tabWidth', this.tabWidth…
791 arcSize = Math.min(w, h) * arcSize;
794 arcSize = Math.min(arcSize, w * 0.5, (h - dy) * 0.5);
797 dx = Math.min(w - arcSize, dx);
816 c.moveTo(w - dx, dy);
817 c.lineTo(w - dx, 0);
818 c.lineTo(w - Math.max(arcSize, 0), 0);
819 c.lineTo(w - Math.max(arcSize, 0), dy);
826 c.lineTo(w - arcSize, dy);
827 c.arcTo(arcSize, arcSize, 0, 0, 1, w, arcSize + dy);
828 c.lineTo(w, h - arcSize);
829 c.arcTo(arcSize, arcSize, 0, 0, 1, w - arcSize, h);
836 c.lineTo(w, dy);
837 c.lineTo(w, h);
851 c.moveTo(w - 30, dy + 20);
852 c.lineTo(w - 20, dy + 10);
853 c.lineTo(w - 10, dy + 20);
915 UMLStateShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
926 arcSize = Math.min(w, h) * arcSize;
929 arcSize = Math.min(arcSize, w * 0.5, h * 0.5);
946 c.lineTo(w - arcSize, 0);
947 c.arcTo(arcSize, arcSize, 0, 0, 1, w, arcSize);
948 c.lineTo(w, h - arcSize);
949 c.arcTo(arcSize, arcSize, 0, 0, 1, w - arcSize, h);
961 c.roundrect(w - 40, h - 20, 10, 10, 3, 3);
963 c.roundrect(w - 20, h - 20, 10, 10, 3, 3);
966 c.moveTo(w - 30, h - 15);
967 c.lineTo(w - 20, h - 15);
1018 CardShape.prototype.redrawPath = function(c, x, y, w, h) argument
1020 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
1022 …this.addPoints(c, [new mxPoint(s, 0), new mxPoint(w, 0), new mxPoint(w, h), new mxPoint(0, h), new…
1036 TapeShape.prototype.redrawPath = function(c, x, y, w, h) argument
1042 c.quadTo(w / 4, dy * fy, w / 2, dy / 2);
1043 c.quadTo(w * 3 / 4, dy * (1 - fy), w, dy / 2);
1044 c.lineTo(w, h - dy / 2);
1045 c.quadTo(w * 3 / 4, h - dy * fy, w / 2, h - dy / 2);
1046 c.quadTo(w / 4, h - dy * (1 - fy), 0, h - dy / 2);
1057 var w = rect.width;
1066 return new mxRectangle(rect.x, rect.y + dy, w, h - 2 * dy);
1070 var dx = w * size;
1072 return new mxRectangle(rect.x + dx, rect.y, w - 2 * dx, h);
1098 DocumentShape.prototype.redrawPath = function(c, x, y, w, h) argument
1104 c.lineTo(w, 0);
1105 c.lineTo(w, h - dy / 2);
1106 c.quadTo(w * 3 / 4, h - dy * fy, w / 2, h - dy / 2);
1107 c.quadTo(w / 4, h - dy * (1 - fy), 0, h - dy / 2);
1117 mxCylinder.prototype.getCylinderSize = function(x, y, w, h) argument
1243 ParallelogramShape.prototype.redrawPath = function(c, x, y, w, h) argument
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…
1268 TrapezoidShape.prototype.redrawPath = function(c, x, y, w, h) argument
1273 … dx = (fixed) ? Math.max(0, Math.min(w * 0.5, parseFloat(mxUtils.getValue(this.style, 'size', this…
1275 …this.addPoints(c, [new mxPoint(0, h), new mxPoint(dx, 0), new mxPoint(w - dx, 0), new mxPoint(w, h…
1288 CurlyBracketShape.prototype.redrawPath = function(c, x, y, w, h) argument
1291 var s = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
1293 this.addPoints(c, [new mxPoint(w, 0), new mxPoint(s, 0), new mxPoint(s, h / 2),
1295 new mxPoint(w, h)], this.isRounded, arcSize, false);
1307 ParallelMarkerShape.prototype.redrawPath = function(c, x, y, w, h) argument
1311 var w2 = w / 5;
1520 mxRectangleShape.prototype.paintBackground = function(c, x, y, w, h) argument
1551 r = Math.min(w / 2, Math.min(h / 2, mxUtils.getValue(this.style,
1558 r = Math.min(w * f, h * f);
1562 c.lineTo(x + w - r, y);
1563 c.quadTo(x + w, y, x + w, y + r);
1564 c.lineTo(x + w, y + h - r);
1565 c.quadTo(x + w, y + h, x + w - r, y + h);
1574 c.lineTo(x + w, y);
1575 c.lineTo(x + w, y + h);
1610 var w = rect.width;
1612 var r = new mxRectangle(rect.x, rect.y, w, h);
1614 …var inset = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size)…
1620 inset = Math.max(inset, Math.min(w * f, h * f));
1632 ProcessShape.prototype.paintForeground = function(c, x, y, w, h) argument
1639 inset = Math.max(0, Math.min(w, inset));
1643 inset = w * Math.max(0, Math.min(1, inset));
1650 inset = Math.max(inset, Math.min(w * f, h * f));
1659 c.moveTo(x + w - inset, y);
1660 c.lineTo(x + w - inset, y + h);
1676 TransparentShape.prototype.paintBackground = function(c, x, y, w, h) argument
1679 c.rect(x, y, w, h);
1682 TransparentShape.prototype.paintForeground = function(c, x, y, w, h) { }; argument
1705 CalloutShape.prototype.redrawPath = function(c, x, y, w, h) argument
1709 …var dx = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'position', this.posi…
1710 …var dx2 = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'position2', this.po…
1711 var base = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'base', this.base))));
1713 this.addPoints(c, [new mxPoint(0, 0), new mxPoint(w, 0), new mxPoint(w, h - s),
1714 new mxPoint(Math.min(w, dx + base), h - s), new mxPoint(dx2, h),
1733 StepShape.prototype.redrawPath = function(c, x, y, w, h) argument
1736 …var s = (fixed) ? Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'size', this.fix…
1737 w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
1739 …this.addPoints(c, [new mxPoint(0, 0), new mxPoint(w - s, 0), new mxPoint(w, h / 2), new mxPoint(w
1758 HexagonShape.prototype.redrawPath = function(c, x, y, w, h) argument
1761 …var s = (fixed) ? Math.max(0, Math.min(w * 0.5, parseFloat(mxUtils.getValue(this.style, 'size', th…
1762 w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
1764 …this.addPoints(c, [new mxPoint(s, 0), new mxPoint(w - s, 0), new mxPoint(w, 0.5 * h), new mxPoint(
1780 PlusShape.prototype.paintForeground = function(c, x, y, w, h) argument
1782 var border = Math.min(w / 5, h / 5) + 1;
1785 c.moveTo(x + w / 2, y + border);
1786 c.lineTo(x + w / 2, y + h - border);
1788 c.lineTo(x + w - border, y + h / 2);
1811 mxRhombus.prototype.paintVertexShape = function(c, x, y, w, h) argument
1821 w -= 2 * margin;
1824 if (w > 0 && h > 0)
1830 mxRhombusPaintVertexShape.apply(this, [c, x, y, w, h]);
1859 ExtendedShape.prototype.paintForeground = function(c, x, y, w, h) argument
1868 w -= 2 * margin;
1871 if (w > 0 && h > 0)
1901 var arcSize = this.getArcSize(w + this.strokewidth, h + this.strokewidth) * arcspacing;
1911 x2 += (w - width) / 2;
1915 x2 += w - width - spacing;
1962 MessageShape.prototype.redrawPath = function(path, x, y, w, h, isForeground) argument
1967 path.lineTo(w / 2, h / 2);
1968 path.lineTo(w, 0);
1974 path.lineTo(w, 0);
1975 path.lineTo(w, h);
1989 UmlActorShape.prototype.paintBackground = function(c, x, y, w, h) argument
1994 c.ellipse(w / 4, 0, w / 2, h / 4);
1998 c.moveTo(w / 2, h / 4);
1999 c.lineTo(w / 2, 2 * h / 3);
2002 c.moveTo(w / 2, h / 3);
2004 c.moveTo(w / 2, h / 3);
2005 c.lineTo(w, h / 3);
2008 c.moveTo(w / 2, 2 * h / 3);
2010 c.moveTo(w / 2, 2 * h / 3);
2011 c.lineTo(w, h);
2030 UmlBoundaryShape.prototype.paintBackground = function(c, x, y, w, h) argument
2044 c.lineTo(w / 6, h / 2);
2049 c.ellipse(w / 6, 0, w * 5 / 6, h);
2061 UmlEntityShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
2066 c.moveTo(x + w / 8, y + h);
2067 c.lineTo(x + w * 7 / 8, y + h);
2080 UmlDestroyShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
2085 c.moveTo(w, 0);
2088 c.lineTo(w, h);
2105 UmlControlShape.prototype.paintBackground = function(c, x, y, w, h) argument
2111 c.moveTo(w * 3 / 8, h / 8 * 1.1);
2112 c.lineTo(w * 5 / 8, 0);
2117 c.ellipse(0, h / 8, w, h * 7 / 8);
2120 UmlControlShape.prototype.paintForeground = function(c, x, y, w, h) argument
2124 c.moveTo(w * 3 / 8, h / 8 * 1.1);
2125 c.lineTo(w * 5 / 8, h / 4);
2151 UmlLifeline.prototype.paintBackground = function(c, x, y, w, h) argument
2158 mxRectangleShape.prototype.paintBackground.call(this, c, x, y, w, size); argument
2169 shape.paintVertexShape(c, x, y, w, size);
2178 c.moveTo(x + w / 2, y + size);
2179 c.lineTo(x + w / 2, y + h);
2184 UmlLifeline.prototype.paintForeground = function(c, x, y, w, h) argument
2187 mxRectangleShape.prototype.paintForeground.call(this, c, x, y, w, Math.min(h, size)); argument
2207 UmlFrame.prototype.paintBackground = function(c, x, y, w, h) argument
2210 var w0 = Math.min(w, Math.max(co, parseFloat(mxUtils.getValue(this.style, 'width', this.width))));
2217 c.rect(x, y, w, h);
2223 var b = this.getGradientBounds(c, x, y, w, h);
2224 c.setGradient(this.fill, this.gradient, x, y, w, h, this.gradientDirection);
2242 c.lineTo(x + w, y);
2243 c.lineTo(x + w, y + h);
2355 var w = bounds.width;
2368 points = [new mxPoint(x, y), new mxPoint(x + w, y + dy),
2369 new mxPoint(x + w, y + h), new mxPoint(x, y + h - dy), new mxPoint(x, y)];
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)];
2385 if (next.x < x || next.x > x + w)
2418 var w = bounds.width;
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));
2435 points = [new mxPoint(x, y), new mxPoint(x + w, y),
2436 new mxPoint(x + w - dx, y + h), new mxPoint(x + dx, y + h), new mxPoint(x, y)];
2441 points = [new mxPoint(x, y + dy), new mxPoint(x + w, y),
2442 new mxPoint(x + w, y + h), new mxPoint(x, y + h - dy), new mxPoint(x, y + dy)];
2447 points = [new mxPoint(x, y), new mxPoint(x + w, y + dy),
2448 new mxPoint(x + w, y + h - dy), new mxPoint(x, y + h), new mxPoint(x, y)];
2458 if (next.x < x || next.x > x + w)
2491 var w = bounds.width;
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),
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),
2519 points = [new mxPoint(x, y + dy), new mxPoint(cx, y), new mxPoint(x + w, y + dy),
2520 new mxPoint(x + w, y + h), new mxPoint(cx, y + h - dy),
2526 points = [new mxPoint(x, y), new mxPoint(cx, y + dy), new mxPoint(x + w, y),
2527 new mxPoint(x + w, y + h - dy), new mxPoint(cx, y + h),
2535 if (next.x < x || next.x > x + w)
2568 var w = bounds.width;
2584 points = [new mxPoint(cx, y), new mxPoint(x + w, y + dy), new mxPoint(x + w, y + h - dy),
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),
2600 if (next.x < x || next.x > x + w)
2622 LollipopShape.prototype.paintBackground = function(c, x, y, w, h) argument
2627 c.ellipse((w - sz) / 2, 0, sz, sz);
2631 c.moveTo(w / 2, sz);
2632 c.lineTo(w / 2, h);
2647 RequiresShape.prototype.paintBackground = function(c, x, y, w, h) argument
2654 c.moveTo(w / 2, sz + inset);
2655 c.lineTo(w / 2, h);
2660 c.moveTo((w - sz) / 2 - inset, sz / 2);
2661 c.quadTo((w - sz) / 2 - inset, sz + inset, w / 2, sz + inset);
2662 c.quadTo((w + sz) / 2 + inset, sz + inset, (w + sz) / 2 + inset, sz / 2);
2676 RequiredInterfaceShape.prototype.paintBackground = function(c, x, y, w, h) argument
2682 c.quadTo(w, 0, w, h / 2);
2683 c.quadTo(w, h, 0, h);
2697 ProvidedRequiredInterfaceShape.prototype.paintBackground = function(c, x, y, w, h) argument
2702 c.ellipse(0, inset, w - 2 * inset, h - 2 * inset);
2706 c.moveTo(w / 2, 0);
2707 c.quadTo(w, 0, w, h / 2);
2708 c.quadTo(w, h, w / 2, h);
2723 ModuleShape.prototype.redrawPath = function(path, x, y, w, h, isForeground) argument
2747 path.lineTo(w, 0);
2748 path.lineTo(w, h);
2773 ComponentShape.prototype.redrawPath = function(path, x, y, w, h, isForeground) argument
2797 path.lineTo(w, 0);
2798 path.lineTo(w, h);
2821 AssociativeEntity.prototype.paintForeground = function(c, x, y, w, h) argument
2823 var hw = w / 2;
2828 this.addPoints(c, [new mxPoint(x + hw, y), new mxPoint(x + w, y + hh), new mxPoint(x + hw, y + h),
2844 StateShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
2846 var inset = Math.min(4, Math.min(w / 5, h / 5));
2848 if (w > 0 && h > 0)
2850 c.ellipse(x + inset, y + inset, w - 2 * inset, h - 2 * inset);
2858 c.ellipse(x, y, w, h);
2940 ManualInputShape.prototype.redrawPath = function(c, x, y, w, h) argument
2944 this.addPoints(c, [new mxPoint(0, h), new mxPoint(0, s), new mxPoint(w, 0), new mxPoint(w, h)],
2963 InternalStorageShape.prototype.paintForeground = function(c, x, y, w, h) argument
2972 inset = Math.max(inset, Math.min(w * f, h * f));
2975 var dx = Math.max(inset, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
2980 c.lineTo(x + w, y + dy);
3003 CornerShape.prototype.redrawPath = function(c, x, y, w, h) argument
3005 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
3008 var s = Math.min(w / 2, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
3010 this.addPoints(c, [new mxPoint(0, 0), new mxPoint(w, 0), new mxPoint(w, dy), new mxPoint(dx, dy),
3024 CrossbarShape.prototype.redrawPath = function(c, x, y, w, h) argument
3030 c.moveTo(w, 0);
3031 c.lineTo(w, h);
3035 c.lineTo(w, h / 2);
3051 TeeShape.prototype.redrawPath = function(c, x, y, w, h) argument
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;
3057 var s = Math.min(w / 2, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
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),
3075 SingleArrowShape.prototype.redrawPath = function(c, x, y, w, h) argument
3078 …var as = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowSize', this.arr…
3083 …this.addPoints(c, [new mxPoint(0, at), new mxPoint(w - as, at), new mxPoint(w - as, 0), new mxPoin…
3084 new mxPoint(w - as, h), new mxPoint(w - as, ab), new mxPoint(0, ab)],
3097 DoubleArrowShape.prototype.redrawPath = function(c, x, y, w, h) argument
3100 …var as = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowSize', SingleAr…
3105 …this.addPoints(c, [new mxPoint(0, h / 2), new mxPoint(as, 0), new mxPoint(as, at), new mxPoint(w -…
3106 new mxPoint(w - as, 0), new mxPoint(w, h / 2), new mxPoint(w - as, h),
3107 new mxPoint(w - as, ab), new mxPoint(as, ab), new mxPoint(as, h)],
3122 DataStorageShape.prototype.redrawPath = function(c, x, y, w, h) argument
3125 …var s = (fixed) ? Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'size', this.fix…
3126 w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
3129 c.lineTo(w, 0);
3130 c.quadTo(w - s * 2, h / 2, w, h);
3145 OrShape.prototype.redrawPath = function(c, x, y, w, h) argument
3148 c.quadTo(w, 0, w, h / 2);
3149 c.quadTo(w, h, 0, h);
3162 XorShape.prototype.redrawPath = function(c, x, y, w, h) argument
3165 c.quadTo(w, 0, w, h / 2);
3166 c.quadTo(w, h, 0, h);
3167 c.quadTo(w / 2, h / 2, 0, 0);
3185 LoopLimitShape.prototype.redrawPath = function(c, x, y, w, h) argument
3187 var s = Math.min(w / 2, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
3189 …this.addPoints(c, [new mxPoint(s, 0), new mxPoint(w - s, 0), new mxPoint(w, s * 0.8), new mxPoint(
3207 OffPageConnectorShape.prototype.redrawPath = function(c, x, y, w, h) argument
3211 …this.addPoints(c, [new mxPoint(0, 0), new mxPoint(w, 0), new mxPoint(w, h - s), new mxPoint(w / 2,…
3224 TapeDataShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
3229 c.moveTo(x + w / 2, y + h);
3230 c.lineTo(x + w, y + h);
3243 OrEllipseShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
3250 c.lineTo(x + w, y + h / 2);
3255 c.moveTo(x + w / 2, y);
3256 c.lineTo(x + w / 2, y + h);
3269 SumEllipseShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
3276 c.moveTo(x + w * s2, y + h * s2);
3277 c.lineTo(x + w * (1 - s2), y + h * (1 - s2));
3282 c.moveTo(x + w * (1 - s2), y + h * s2);
3283 c.lineTo(x + w * s2, y + h * (1 - s2));
3296 SortShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
3303 c.lineTo(x + w, y + h / 2);
3316 CollateShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
3320 c.lineTo(x + w, y);
3321 c.lineTo(x + w / 2, y + h / 2);
3327 c.lineTo(x + w, y + h);
3328 c.lineTo(x + w / 2, y + h / 2);
3341 DimensionShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
3355 c.lineTo(x + w, cy);
3358 c.moveTo(x + w, y);
3359 c.lineTo(x + w, y + h);
3360 c.moveTo(x + w, cy);
3361 c.lineTo(x + w - al, cy - al / 2);
3362 c.moveTo(x + w, cy);
3363 c.lineTo(x + w - al, cy + al / 2);
3376 PartialRectangleShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
3393 c.rect(x, y, w, h);
3403 c.lineTo(x + w, y);
3407 c.moveTo(x + w, y);
3412 c.lineTo(x + w, y + h);
3416 c.moveTo(x + w, y + h);
3446 LineEllipseShape.prototype.paintVertexShape = function(c, x, y, w, h) argument
3455 c.moveTo(x + w / 2, y);
3456 c.lineTo(x + w / 2, y + h);
3461 c.lineTo(x + w, y + h / 2);
3476 DelayShape.prototype.redrawPath = function(c, x, y, w, h) argument
3478 var dx = Math.min(w, h / 2);
3480 c.lineTo(w - dx, 0);
3481 c.quadTo(w, 0, w, h / 2);
3482 c.quadTo(w, h, w - dx, h);
3497 CrossShape.prototype.redrawPath = function(c, x, y, w, h) argument
3499 var m = Math.min(h, w);
3503 var l = (w - size) / 2;
3511 c.lineTo(w, t);
3512 c.lineTo(w, b);
3531 DisplayShape.prototype.redrawPath = function(c, x, y, w, h) argument
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);
3539 c.quadTo(w, 0, w, h / 2);
3540 c.quadTo(w, h, w - dx, h);
3649 mxShapeBasicRect2.prototype.paintVertexShape = function(c, x, y, w, h) argument
3652 this.strictDrawShape(c, 0, 0, w, h);
3656 mxShapeBasicRect2.prototype.strictDrawShape = function(c, x, y, w, h, os) argument
3661 …var size = (os && os.size) ? os.size : Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.st…
3663 …var indent = (os && os.indent) ? os.indent : Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(t…
3695 size = Math.min(h * 0.5, w * 0.5, size);
3699 size = relSize * Math.min(w, h) / 100;
3702 size = Math.min(size, Math.min(w, h) * 0.5);
3706 indent = Math.min(relIndent * Math.min(w, h) / 100);
3709 indent = Math.min(indent, Math.min(w, h) * 0.5 - size);
3722 sc.moveNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
3727 sc.paintNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
3730 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
3734 sc.paintNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
3737 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
3741 sc.paintSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
3744 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
3748 sc.paintSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
3751 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
3772 c.setGradient(fillColor2, gradientColor2, 0, 0, w, h, gdir2, op1, op2);
3782 sc.moveNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, top, left);
3785 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
3789 sc.paintSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom);
3792 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
3796 sc.paintSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent);
3799 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
3803 sc.paintNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent);
3806 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
3810 sc.paintNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent);
3818 …sc.paintFolds(c, x, y, w, h, rectStyle, topLeftStyle, topRightStyle, bottomRightStyle, bottomLeftS…
3830 sc.moveSW(c, x, y, w, h, rectStyle, topLeftStyle, size, bottom);
3831 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
3835 sc.moveNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, top, left);
3836 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
3844 sc.moveSW(c, x, y, w, h, rectStyle, topLeftStyle, size, bottom);
3845 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
3846 sc.lineNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, top, left);
3847 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
3857 sc.moveSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
3858 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
3862 sc.moveSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, left);
3863 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
3871 sc.moveSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
3872 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
3873 sc.lineSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, left);
3874 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
3884 sc.moveSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
3885 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
3886 sc.paintSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
3887 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
3891 sc.moveNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, top, left);
3892 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
3893 sc.paintSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom);
3894 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
3902 sc.moveSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
3903 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
3904 sc.paintSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
3905 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
3906 sc.lineNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, top, left);
3907 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
3908 sc.paintSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom);
3909 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
3919 sc.moveNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
3920 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
3924 sc.moveSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, bottom);
3925 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
3933 sc.moveNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
3934 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
3935 sc.lineSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, bottom);
3936 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
3946 sc.moveSW(c, x, y, w, h, rectStyle, topLeftStyle, size, bottom);
3947 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
3951 sc.moveNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, top, left);
3952 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
3958 sc.moveNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
3959 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
3963 sc.moveSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, bottom);
3964 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
3972 sc.moveSW(c, x, y, w, h, rectStyle, topLeftStyle, size, bottom);
3973 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
3974 sc.lineNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, top, left);
3975 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
3980 sc.moveNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
3981 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
3982 sc.lineSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, bottom);
3983 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
3993 sc.moveNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
3994 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
3995 sc.paintSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
3996 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4000 sc.moveSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, left);
4001 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4002 sc.paintSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent);
4003 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4011 sc.moveNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
4012 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
4013 sc.paintSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
4014 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4015 sc.lineSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, left);
4016 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4017 sc.paintSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent);
4018 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4028 sc.moveNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
4029 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
4030 sc.paintSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
4031 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4032 sc.paintSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
4033 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
4037 sc.moveNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, top, left);
4038 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
4039 sc.paintSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom);
4040 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4041 sc.paintSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent);
4042 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4050 sc.moveNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
4051 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
4052 sc.paintSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
4053 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4054 sc.paintSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
4055 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
4056 sc.lineNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, top, left);
4057 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
4058 sc.paintSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom);
4059 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4060 sc.paintSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent);
4061 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4071 sc.moveNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4072 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4076 sc.moveNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, right);
4077 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4085 sc.moveNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4086 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4087 sc.lineNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, right);
4088 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4098 sc.moveSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
4099 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
4100 sc.paintNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4101 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4105 sc.moveNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, right);
4106 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4107 sc.paintNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent);
4108 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
4116 sc.moveSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
4117 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
4118 sc.paintNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4119 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4120 sc.lineNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, right);
4121 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4122 sc.paintNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent);
4123 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
4133 sc.moveNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4134 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4138 sc.moveNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, right);
4139 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4145 sc.moveSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
4146 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4150 sc.moveSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, left);
4151 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4159 sc.moveNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4160 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4161 sc.lineNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, right);
4162 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4167 sc.moveSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
4168 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4169 sc.lineSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, left);
4170 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4180 sc.moveSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
4181 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4182 sc.paintSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
4183 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
4184 sc.paintNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4185 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4189 sc.moveNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, right);
4190 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4191 sc.paintNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent);
4192 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
4193 sc.paintSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom);
4194 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4202 sc.moveSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
4203 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4204 sc.paintSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
4205 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
4206 sc.paintNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4207 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4208 sc.lineNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, right);
4209 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4210 sc.paintNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent);
4211 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
4212 sc.paintSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom);
4213 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4223 sc.moveNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4224 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4225 sc.paintNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
4226 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
4230 sc.moveSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, bottom);
4231 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4232 sc.paintNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent);
4233 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4241 sc.moveNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4242 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4243 sc.paintNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
4244 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
4245 sc.lineSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, bottom);
4246 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4247 sc.paintNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent);
4248 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4258 sc.moveSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
4259 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
4260 sc.paintNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4261 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4262 sc.paintNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
4263 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
4267 sc.moveSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, bottom);
4268 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4269 sc.paintNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent);
4270 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4271 sc.paintNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent);
4272 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
4280 sc.moveSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
4281 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
4282 sc.paintNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4283 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4284 sc.paintNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
4285 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
4286 sc.lineSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, bottom);
4287 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4288 sc.paintNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent);
4289 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4290 sc.paintNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent);
4291 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
4301 sc.moveNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4302 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4303 sc.paintNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
4304 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
4305 sc.paintSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
4306 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4310 sc.moveSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, left);
4311 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4312 sc.paintSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent);
4313 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4314 sc.paintNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent);
4315 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4323 sc.moveNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4324 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4325 sc.paintNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
4326 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
4327 sc.paintSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
4328 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4329 sc.lineSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, left);
4330 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4331 sc.paintSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent);
4332 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4333 sc.paintNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent);
4334 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4344 sc.moveNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4345 sc.paintNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4346 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4347 sc.paintNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
4348 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
4349 sc.paintSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
4350 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4351 sc.paintSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
4352 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
4357 sc.moveSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, left);
4358 sc.paintSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom);
4359 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4360 sc.paintSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent);
4361 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4362 sc.paintNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent);
4363 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4364 sc.paintNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent);
4365 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
4374 sc.moveNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4375 sc.paintNW(c, x, y, w, h, rectStyle, topLeftStyle, size, left);
4376 sc.paintTop(c, x, y, w, h, rectStyle, topRightStyle, size, right);
4377 sc.paintNE(c, x, y, w, h, rectStyle, topRightStyle, size, top);
4378 sc.paintRight(c, x, y, w, h, rectStyle, bottomRightStyle, size, bottom);
4379 sc.paintSE(c, x, y, w, h, rectStyle, bottomRightStyle, size, right);
4380 sc.paintBottom(c, x, y, w, h, rectStyle, bottomLeftStyle, size, left);
4381 sc.paintSW(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bottom);
4382 sc.paintLeft(c, x, y, w, h, rectStyle, topLeftStyle, size, top);
4384 sc.moveSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, left);
4385 sc.paintSWInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom);
4386 sc.paintBottomInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent, right, bottom);
4387 sc.paintSEInner(c, x, y, w, h, rectStyle, bottomRightStyle, size, indent);
4388 sc.paintRightInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent, top, right);
4389 sc.paintNEInner(c, x, y, w, h, rectStyle, topRightStyle, size, indent);
4390 sc.paintTopInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent, left, top);
4391 sc.paintNWInner(c, x, y, w, h, rectStyle, topLeftStyle, size, indent);
4392 sc.paintLeftInner(c, x, y, w, h, rectStyle, bottomLeftStyle, size, indent, bottom, left);
4399 …sc.paintFolds(c, x, y, w, h, rectStyle, topLeftStyle, topRightStyle, bottomRightStyle, bottomLeftS…
4403 mxShapeBasicRect2.prototype.moveNW = function(c, x, y, w, h, rectStyle, topLeftStyle, size, left) argument
4415 mxShapeBasicRect2.prototype.moveNE = function(c, x, y, w, h, rectStyle, topRightStyle, size, top) argument
4419 c.moveTo(w, 0);
4423 c.moveTo(w - size, 0);
4427 …mxShapeBasicRect2.prototype.moveSE = function(c, x, y, w, h, rectStyle, bottomRightStyle, size, ri… argument
4431 c.moveTo(w, h);
4435 c.moveTo(w, h - size);
4439 …mxShapeBasicRect2.prototype.moveSW = function(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bot… argument
4451 mxShapeBasicRect2.prototype.paintNW = function(c, x, y, w, h, rectStyle, topLeftStyle, size, left) argument
4476 …mxShapeBasicRect2.prototype.paintTop = function(c, x, y, w, h, rectStyle, topRightStyle, size, rig… argument
4480 c.lineTo(w, 0);
4484 c.lineTo(w - size, 0);
4488 mxShapeBasicRect2.prototype.paintNE = function(c, x, y, w, h, rectStyle, topRightStyle, size, top) argument
4492 c.lineTo(w, 0);
4504 c.arcTo(size, size, 0, 0, inv, w, size);
4509 c.lineTo(w, size);
4513 …mxShapeBasicRect2.prototype.paintRight = function(c, x, y, w, h, rectStyle, bottomRightStyle, size… argument
4517 c.lineTo(w, h);
4521 c.lineTo(w, h - size);
4525 mxShapeBasicRect2.prototype.paintLeft = function(c, x, y, w, h, rectStyle, topLeftStyle, size, top) argument
4537 …mxShapeBasicRect2.prototype.paintSE = function(c, x, y, w, h, rectStyle, bottomRightStyle, size, r… argument
4541 c.lineTo(w, h);
4553 c.arcTo(size, size, 0, 0, inv, w - size, h);
4558 c.lineTo(w - size, h);
4562 …mxShapeBasicRect2.prototype.paintBottom = function(c, x, y, w, h, rectStyle, bottomLeftStyle, size… argument
4574 …mxShapeBasicRect2.prototype.paintSW = function(c, x, y, w, h, rectStyle, bottomLeftStyle, size, bo… argument
4599 …mxShapeBasicRect2.prototype.paintNWInner = function(c, x, y, w, h, rectStyle, topLeftStyle, size, … argument
4620 …mxShapeBasicRect2.prototype.paintTopInner = function(c, x, y, w, h, rectStyle, topLeftStyle, size,… argument
4653 …mxShapeBasicRect2.prototype.paintNEInner = function(c, x, y, w, h, rectStyle, topRightStyle, size,… argument
4657 c.arcTo(size - indent * 0.5, size - indent * 0.5, 0, 0, 0, w - size - indent * 0.5, indent);
4661 c.arcTo(size + indent, size + indent, 0, 0, 1, w - size - indent, indent);
4665 c.lineTo(w - size - indent * 0.5, indent);
4669 c.lineTo(w - size - indent, size + indent);
4670 c.lineTo(w - size - indent, indent);
4674 …mxShapeBasicRect2.prototype.paintRightInner = function(c, x, y, w, h, rectStyle, topRightStyle, si… argument
4678 c.lineTo(w, 0);
4682 c.lineTo(w - indent, 0);
4686 c.lineTo(w, indent);
4690 c.lineTo(w - indent, 0);
4694 c.lineTo(w - indent, indent);
4699 c.lineTo(w - indent, size + indent * 0.5);
4703 c.lineTo(w - indent, size + indent);
4707 …mxShapeBasicRect2.prototype.paintLeftInner = function(c, x, y, w, h, rectStyle, bottomLeftStyle, s… argument
4740 …mxShapeBasicRect2.prototype.paintSEInner = function(c, x, y, w, h, rectStyle, bottomRightStyle, si… argument
4744 c.arcTo(size - indent * 0.5, size - indent * 0.5, 0, 0, 0, w - indent, h - size - indent * 0.5);
4748 c.arcTo(size + indent, size + indent, 0, 0, 1, w - indent, h - size - indent);
4752 c.lineTo(w - indent, h - size - indent * 0.5);
4756 c.lineTo(w - size - indent, h - size - indent);
4757 c.lineTo(w - indent, h - size - indent);
4761 …mxShapeBasicRect2.prototype.paintBottomInner = function(c, x, y, w, h, rectStyle, bottomRightStyle… argument
4765 c.lineTo(w, h);
4769 c.lineTo(w, h - indent);
4773 c.lineTo(w - indent, h);
4777 c.lineTo(w - indent, h - indent);
4782 c.lineTo(w - size - indent * 0.5, h - indent);
4786 c.lineTo(w - size - indent, h - indent);
4790 …mxShapeBasicRect2.prototype.paintSWInner = function(c, x, y, w, h, rectStyle, bottomLeftStyle, siz… argument
4819 …mxShapeBasicRect2.prototype.moveSWInner = function(c, x, y, w, h, rectStyle, bottomLeftStyle, size… argument
4841 …mxShapeBasicRect2.prototype.lineSWInner = function(c, x, y, w, h, rectStyle, bottomLeftStyle, size… argument
4863 …mxShapeBasicRect2.prototype.moveSEInner = function(c, x, y, w, h, rectStyle, bottomRightStyle, siz… argument
4867 c.moveTo(w - indent, h);
4871 c.moveTo(w - indent, h - indent);
4876 c.moveTo(w - indent, h - size - indent * 0.5);
4881 c.moveTo(w - indent, h - size - indent);
4885 …mxShapeBasicRect2.prototype.lineSEInner = function(c, x, y, w, h, rectStyle, bottomRightStyle, siz… argument
4889 c.lineTo(w - indent, h);
4893 c.lineTo(w - indent, h - indent);
4898 c.lineTo(w - indent, h - size - indent * 0.5);
4903 c.lineTo(w - indent, h - size - indent);
4907 …mxShapeBasicRect2.prototype.moveNEInner = function(c, x, y, w, h, rectStyle, topRightStyle, size, … argument
4911 c.moveTo(w, indent);
4915 c.moveTo(w - indent, indent);
4920 c.moveTo(w - indent, size + indent * 0.5);
4925 c.moveTo(w - indent, size + indent);
4929 …mxShapeBasicRect2.prototype.lineNEInner = function(c, x, y, w, h, rectStyle, topRightStyle, size, … argument
4933 c.lineTo(w, indent);
4937 c.lineTo(w - indent, indent);
4942 c.lineTo(w - indent, size + indent * 0.5);
4947 c.lineTo(w - indent, size + indent);
4951 …mxShapeBasicRect2.prototype.moveNWInner = function(c, x, y, w, h, rectStyle, topLeftStyle, size, i… argument
4981 …mxShapeBasicRect2.prototype.lineNWInner = function(c, x, y, w, h, rectStyle, topLeftStyle, size, i… argument
5011 …mxShapeBasicRect2.prototype.paintFolds = function(c, x, y, w, h, rectStyle, topLeftStyle, topRight… argument
5024 c.moveTo(w - size, 0);
5025 c.lineTo(w - size, size);
5026 c.lineTo(w, size);
5031 c.moveTo(w - size, h);
5032 c.lineTo(w - size, h - size);
5033 c.lineTo(w, h - size);
5622 var w = state.shape.getEdgeWidth() * state.view.scale + spacing;
5624 return new mxPoint(p0.x + nx * dist / 4 + ny * w / 2, p0.y + ny * dist / 4 - nx * w / 2);
5627 var w = Math.sqrt(mxUtils.ptSegDistSq(p0.x, p0.y, p1.x, p1.y, pt.x, pt.y));
5628 state.style['width'] = Math.round(w * 2) / state.view.scale - spacing;
5654 var w = (state.shape.getEdgeWidth() - state.shape.strokewidth) * state.view.scale;
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);
5661 var w = Math.sqrt(mxUtils.ptSegDistSq(p0.x, p0.y, p1.x, p1.y, pt.x, pt.y));
5665 state.style['width'] = Math.round(w * 2) / state.view.scale;
5685 var w = (state.shape.getStartArrowWidth() - state.shape.strokewidth) * state.view.scale;
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);
5692 var w = Math.sqrt(mxUtils.ptSegDistSq(p0.x, p0.y, p1.x, p1.y, pt.x, pt.y));
5696 …state.style['startWidth'] = Math.max(0, Math.round(w * 2) - state.shape.getEdgeWidth()) / state.vi…
5725 var w = (state.shape.getEdgeWidth() - state.shape.strokewidth) * state.view.scale;
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);
5732 var w = Math.sqrt(mxUtils.ptSegDistSq(p0.x, p0.y, p1.x, p1.y, pt.x, pt.y));
5736 state.style['width'] = Math.round(w * 2) / state.view.scale;
5756 var w = (state.shape.getEndArrowWidth() - state.shape.strokewidth) * state.view.scale;
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);
5763 var w = Math.sqrt(mxUtils.ptSegDistSq(p0.x, p0.y, p1.x, p1.y, pt.x, pt.y));
5767 …state.style['endWidth'] = Math.max(0, Math.round(w * 2) - state.shape.getEdgeWidth()) / state.view…
6414 IsoCubeShape.prototype.getConstraints = function(style, w, h) argument
6419 var m = Math.min(w, h / (0.5 + tan30));
6420 var dx = (w - m) / 2;
6433 IsoCubeShape2.prototype.getConstraints = function(style, w, h) argument
6437 var isoH = Math.min(w * Math.tan(isoAngle), h * 0.5);
6440 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, isoH));
6442 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h - isoH));
6451 CalloutShape.prototype.getConstraints = function(style, w, h) argument
6456 …var dx = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'position', this.posi…
6457 …var dx2 = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'position2', this.po…
6458 var base = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'base', this.base))));
6465 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - s) * 0.5));
6466 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h - s));
6471 if (w >= s * 2)
6505 NoteShape.prototype.getConstraints = function(style, w, h) argument
6508 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
6511 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - s) * 0.5, 0));
6512 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - s, 0));
6513 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - s * 0.5, s * 0.5));
6514 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, s));
6515 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h + s) * 0.5 ));
6521 if (w >= s * 2)
6529 CardShape.prototype.getConstraints = function(style, w, h) argument
6532 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
6535 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + s) * 0.5, 0));
6545 if (w >= s * 2)
6553 CubeShape.prototype.getConstraints = function(style, w, h) argument
6556 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
6559 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - s) * 0.5, 0));
6560 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - s, 0));
6561 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - s * 0.5, s * 0.5));
6562 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, s));
6563 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h + s) * 0.5));
6565 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + s) * 0.5, h));
6574 CylinderShape3.prototype.getConstraints = function(style, w, h) argument
6602 FolderShape.prototype.getConstraints = function(style, w, h) argument
6605 …var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'tabWidth', this.tabWidth…
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));
6626 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, dy));
6627 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - dy) * 0.25 + dy));
6628 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - dy) * 0.5 + dy));
6629 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - dy) * 0.75 + dy));
6630 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h));
6652 DisplayShape.prototype.getConstraints = function(style, w, h) argument
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));
6670 ModuleShape.prototype.getConstraints = function(style, w, h) argument
6830 TeeShape.prototype.getConstraints = function(style, w, h) argument
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;
6840 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, dy * 0.5));
6841 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, dy));
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));
6857 CornerShape.prototype.getConstraints = function(style, w, h) argument
6860 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
6866 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, dy * 0.5));
6867 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, dy));
6868 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + dx) * 0.5, dy));
6889 SingleArrowShape.prototype.getConstraints = function(style, w, h) argument
6893 …var as = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowSize', this.arr…
6899 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - as) * 0.5, at));
6900 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - as, 0));
6902 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - as, h));
6903 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w - as) * 0.5, h - at));
6909 DoubleArrowShape.prototype.getConstraints = function(style, w, h) argument
6913 …var as = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowSize', SingleAr…
6919 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.5, at));
6920 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - as, 0));
6922 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w - as, h));
6923 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w * 0.5, h - at));
6929 CrossShape.prototype.getConstraints = function(style, w, h) argument
6932 var m = Math.min(h, w);
6936 var l = (w - size) / 2;
6951 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + r) * 0.5, t));
6952 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, t));
6954 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, b));
6955 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, (w + r) * 0.5, b));