Lines Matching refs:h

72 mxShapeIOS7AppBar.prototype.paintVertexShape = function(c, x, y, w, h)  argument
75 this.background(c, x, y, w, h);
77 this.foreground(c, x, y, w, h);
80 mxShapeIOS7AppBar.prototype.background = function(c, x, y, w, h) argument
82 c.rect(0, 0, w, h);
86 mxShapeIOS7AppBar.prototype.foreground = function(c, x, y, w, h) argument
90 c.ellipse(5, h * 0.5 - 1.5, 3, 3);
92 c.ellipse(9, h * 0.5 - 1.5, 3, 3);
94 c.ellipse(13, h * 0.5 - 1.5, 3, 3);
96 c.ellipse(17, h * 0.5 - 1.5, 3, 3);
98 c.ellipse(21, h * 0.5 - 1.5, 3, 3);
101 c.ellipse(54, h * 0.5 + 2, 2, 2);
106 c.moveTo(52, h * 0.5 + 1);
107 c.arcTo(3.5, 3.5, 0, 0, 1, 58, h * 0.5 + 1);
111 c.moveTo(50, h * 0.5 - 1);
112 c.arcTo(6, 6, 0, 0, 1, 60, h * 0.5 - 1);
116 c.moveTo(w - 19, h * 0.5 - 2);
117 c.lineTo(w - 6, h * 0.5 - 2);
118 c.lineTo(w - 6, h * 0.5 + 2);
119 c.lineTo(w - 19, h * 0.5 + 2);
125 c.moveTo(w - 44, h * 0.5 - 2.5);
126 c.lineTo(w - 36, h * 0.5 + 2.5);
127 c.lineTo(w - 40, h * 0.5 + 5);
128 c.lineTo(w - 40, h * 0.5 - 5);
129 c.lineTo(w - 36, h * 0.5 - 2.5);
130 c.lineTo(w - 44, h * 0.5 + 2.5);
134 c.moveTo(w - 20, h * 0.5 - 3);
135 c.lineTo(w - 5, h * 0.5 - 3);
136 c.lineTo(w - 5, h * 0.5 - 1);
137 c.lineTo(w - 3.5, h * 0.5 - 1);
138 c.lineTo(w - 3.5, h * 0.5 + 1);
139 c.lineTo(w - 5, h * 0.5 + 1);
140 c.lineTo(w - 5, h * 0.5 + 3);
141 c.lineTo(w - 20, h * 0.5 + 3);
182 mxShapeIOS7OnOffButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
185 w = Math.max(w, 2 * h);
187 this.background(c, x, y, w, h, state);
189 this.foreground(c, x, y, w, h, state);
192 mxShapeIOS7OnOffButton.prototype.background = function(c, x, y, w, h, state) argument
196 c.roundrect(0, 0, w, h, h * 0.5, h * 0.5);
203 c.roundrect(0, 0, w, h, h * 0.5, h * 0.5);
209 mxShapeIOS7OnOffButton.prototype.foreground = function(c, x, y, w, h, state) argument
215 c.ellipse(w - h + 1, 1, h - 2, h - 2);
220 c.ellipse(0, 0, h, h);
255 mxShapeIOS7Slider.prototype.paintVertexShape = function(c, x, y, w, h) argument
260 this.foreground(c, w, h);
263 mxShapeIOS7Slider.prototype.foreground = function(c, w, h) argument
268 c.moveTo(0, h * 0.5);
269 c.lineTo(w, h * 0.5);
280 c.ellipse(truePos - 5, h * 0.5 - 5, 10, 10);
332 mxShapeIOS7DownloadBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
336 this.foreground(c, w, h);
339 mxShapeIOS7DownloadBar.prototype.foreground = function(c, w, h) argument
343 …c.text(w * 0.5, h * 0.2, 0, 0, fieldText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, n…
353 c.moveTo(0, h * 0.5);
354 c.lineTo(w, h * 0.5);
359 c.moveTo(0, h * 0.5);
360 c.lineTo(truePos, h * 0.5);
406 mxShapeIOS7Icon.prototype.paintVertexShape = function(c, x, y, w, h) argument
410 this.foreground(c, w, h);
413 mxShapeIOS7Icon.prototype.foreground = function(c, w, h) argument
415 …c.setGradient('#00D0F0', '#0080F0', w * 0.325, 0, w * 0.675, h * 0.5, mxConstants.DIRECTION_SOUTH,…
416 c.roundrect(0, 0, w, h, w * 0.1, h * 0.1);
423 …c.text(w * 0.5, h * 0.5, 0, 0, fieldText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, n…
453 mxShapeIOS7horButtonBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
483 var trueH = Math.max(h, fontSize * 1.5, 10);
510 mxShapeIOS7horButtonBar.prototype.background = function(c, w, h, rSize, buttonNum, buttonWidths, la… argument
521 c.lineTo(w, h - rSize);
522 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
523 c.lineTo(rSize, h);
524 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
544 c.lineTo(currWidth, h);
571 c.lineTo(buttonRight, h);
572 c.lineTo(rSize, h);
573 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
584 c.lineTo(buttonRight, h - rSize);
585 c.arcTo(rSize, rSize, 0, 0, 1, buttonRight - rSize, h);
586 c.lineTo(buttonLeft, h);
596 c.lineTo(buttonRight, h);
597 c.lineTo(buttonLeft, h);
610 c.lineTo(w, h - rSize);
611 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
612 c.lineTo(rSize, h);
613 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
618 mxShapeIOS7horButtonBar.prototype.buttonText = function(c, w, h, textString, buttonWidth, fontSize,… argument
627 …c.text((w + buttonWidth * 0.5) * trueW / minW, h * 0.5, 0, 0, textString, mxConstants.ALIGN_CENTER…
657 mxShapeIOS7pageControl.prototype.paintVertexShape = function(c, x, y, w, h) argument
664 var rSize = Math.min(h * 0.5, w * 0.05);
666 c.ellipse(0, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
668 c.ellipse(w * 0.25 - rSize * 0.5, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
670 c.ellipse(w * 0.5 - rSize, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
672 c.ellipse(w * 0.75 - rSize * 1.5, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
675 c.ellipse(w - 2 * rSize, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
710 mxShapeIOS7iconGrid.prototype.paintVertexShape = function(c, x, y, w, h) argument
716 var boxSizeY = h / (parseInt(gridSize[1],10) + (gridSize[1]-1) * 0.1);
755 mxShapeIOS7phone.prototype.paintVertexShape = function(c, x, y, w, h) argument
760 c.roundrect(0, 0, w, h, rSize, rSize);
765 this.foreground(c, x, y, w, h, rSize);
768 mxShapeIOS7phone.prototype.foreground = function(c, x, y, w, h, rSize) argument
770 c.rect(w * 0.0625, h * 0.15, w * 0.875, h * 0.7);
773 c.ellipse(w * 0.4875, h * 0.04125, w * 0.025, h * 0.0125);
776 c.roundrect(w * 0.375, h * 0.075, w * 0.25, h * 0.01875, w * 0.02, h * 0.01);
778 c.ellipse(w * 0.4, h * 0.875, w * 0.2, h * 0.1);
780 c.roundrect(w * 0.4575, h * 0.905, w * 0.085, h * 0.04375, h * 0.00625, h * 0.00625);
811 mxShapeIOS7searchBox.prototype.paintVertexShape = function(c, x, y, w, h) argument
814 this.background(c, w, h);
816 this.foreground(c, w, h);
819 mxShapeIOS7searchBox.prototype.background = function(c, w, h) argument
821 c.rect(0, 0, w, h);
825 mxShapeIOS7searchBox.prototype.foreground = function(c, w, h) argument
831 var rSize = Math.min(w, h) * 0.1;
834 c.roundrect(w * 0.05, h * 0.15, w * 0.5, h * 0.7, rSize, rSize);
838 c.setFontSize(Math.min(h * 0.7, w * 0.1));
840 …c.text(5, h * 0.5, 0, 0, mainText, mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0, null, 0, 0…
843 c.ellipse(w * 0.05 + 3, h * 0.5 - 3, 4, 4);
846 c.moveTo(w * 0.05 + 8, h * 0.5 + 3.5);
847 c.lineTo(w * 0.05 + 6, h * 0.5 + 0.5);
878 mxShapeIOS7URL.prototype.paintVertexShape = function(c, x, y, w, h) argument
881 this.background(c, w, h);
883 this.foreground(c, w, h);
886 mxShapeIOS7URL.prototype.background = function(c, w, h) argument
888 c.rect(0, 0, w, h);
892 mxShapeIOS7URL.prototype.foreground = function(c, w, h) argument
898 var rSize = Math.min(w, h) * 0.1;
901 c.roundrect(w * 0.05, h * 0.15, w * 0.9, h * 0.7, rSize, rSize);
905 c.setFontSize(Math.min(h * 0.7, w * 0.1));
907 …c.text(w * 0.5, h * 0.5, 0, 0, mainText, mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0, null…
911 c.moveTo(w * 0.95 - 5, h * 0.5);
912 c.arcTo(3, 3, 0, 1, 1, w * 0.95 - 8, h * 0.5 - 3);
917 c.moveTo(w * 0.95 - 8, h * 0.5 - 4);
918 c.lineTo(w * 0.95 - 6, h * 0.5 - 3);
919 c.lineTo(w * 0.95 - 8, h * 0.5 - 2);
951 mxShapeIOS7Actiondialog.prototype.paintVertexShape = function(c, x, y, w, h) argument
958 this.background(c, x, y, w, h);
963 c.roundrect(w * 0.05, h * 0.1, w * 0.9, h * 0.35, w * 0.025, h * 0.05);
965 c.roundrect(w * 0.05, h * 0.55, w * 0.9, h * 0.35, w * 0.025, h * 0.05);
969 this.mainText(c, x, y, w, h, mainText, fontSize, fontColor);
970 this.subText(c, x, y, w, h, subText, fontSize / 1.4, fontColor);
973 mxShapeIOS7Actiondialog.prototype.background = function(c, x, y, w, h) argument
975 c.rect(0, 0, w, h);
979 mxShapeIOS7Actiondialog.prototype.mainText = function(c, x, y, w, h, text, fontSize, fontColor) argument
984 …c.text(w * 0.5, h * 0.4, 0, 0, text, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, …
987 mxShapeIOS7Actiondialog.prototype.subText = function(c, x, y, w, h, text, fontSize, fontColor) argument
991 …c.text(w * 0.5, h * 0.7, 0, 0, text, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, …
1022 mxShapeIOS7Anchor.prototype.paintVertexShape = function(c, x, y, w, h) argument
1062 mxShapeIOS7RRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
1067 c.roundrect(0, 0, w, h, rSize);
1107 mxShapeIOS7LeftButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1115 c.lineTo(w, h);
1116 c.lineTo(rSize, h);
1117 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
1160 mxShapeIOS7RightButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1170 c.lineTo(w, h - rSize);
1171 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
1172 c.lineTo(0, h);
1213 mxShapeIOS7TopButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1220 c.moveTo(w, h);
1221 c.lineTo(0, h);
1266 mxShapeIOS7BottomButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1275 c.lineTo(0, h - rSize);
1276 c.arcTo(rSize, rSize, 0, 0, 0, rSize, h);
1277 c.lineTo(w - rSize, h);
1278 c.arcTo(rSize, rSize, 0, 0, 0, w, h - rSize);
1314 mxShapeIOS7HorLines.prototype.paintVertexShape = function(c, x, y, w, h) argument
1318 c.rect(0, 0, w, h);
1324 c.moveTo(0, h);
1325 c.lineTo(w, h);
1376 mxShapeIOS7MarginRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
1380 this.background(c, x, y, w, h);
1383 mxShapeIOS7MarginRect.prototype.background = function(c, x, y, w, h, state) argument
1396 var h1 = h - marginBottom - y1 - margin;
1437 mxShapeIOS7Callout.prototype.paintVertexShape = function(c, x, y, w, h) argument
1441 this.background(c, x, y, w, h);
1444 mxShapeIOS7Callout.prototype.background = function(c, x, y, w, h, state) argument
1448 if (w >= 30 && h >= 20)
1451 c.moveTo(15, h - r * 0.3);
1452 c.arcTo(r * 2, r, 0, 0, 1, 0, h);
1453 c.arcTo(r * 1.5, r * 1.5, 0, 0, 0, 10, h - r * 1);
1458 c.lineTo(w, h - r);
1459 c.arcTo(r, r, 0, 0, 1, w - r, h);
1460 c.lineTo(r * 2, h);
1461 c.arcTo(r, r, 0, 0, 1, r * 1.5, h - r * 0.3);
1509 mxShapeIOS7SelectBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
1515 var r = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
1516 …var dy = Math.max(0, Math.min(h, (w - Math.max(20, r) - r) / 2, parseFloat(mxUtils.getValue(this.s…
1518 r = Math.min(h / 2, w / 2, r);
1523 c.moveTo(dx - dy, h);
1524 c.lineTo(r, h);
1525 c.arcTo(r, r, 0, 0, 1, 0, h - r);
1530 c.lineTo(w, h - r);
1531 c.arcTo(r, r, 0, 0, 1, w - r, h);
1532 c.lineTo(dx + dy, h);
1533 c.lineTo(dx, h + dy);
1541 c.lineTo(w - Math.max(20, r), h);
1551 c.lineTo(currDx, h);
1558 var w1 = Math.min(Math.max(20, r), h);
1560 var y1 = h * 0.5;
1665 mxShapeIOS7Slider2.prototype.paintVertexShape = function(c, x, y, w, h) argument
1669 this.background(c, x, y, w, h);
1673 mxShapeIOS7Slider2.prototype.background = function(c, x, y, w, h) argument
1683 c.moveTo(0, h * 0.5);
1684 c.lineTo(w, h * 0.5);
1690 c.moveTo(0, h * 0.5);
1691 c.lineTo(barPos * w, h * 0.5);
1696 c.ellipse(barPos * w - hSize * 0.5, h * 0.5 - hSize * 0.5, hSize, hSize);