Lines Matching refs:w

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
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);
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
269 c.lineTo(w, h * 0.5);
276 var virRange = w - 2 * deadzone;
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…
348 var truePos = w * barPos / 100;
354 c.lineTo(w, 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
485 var trueW = Math.max(w, minW);
510 mxShapeIOS7horButtonBar.prototype.background = function(c, w, h, rSize, buttonNum, buttonWidths, la… argument
519 c.lineTo(w - rSize, 0);
520 c.arcTo(rSize, rSize, 0, 0, 1, w, rSize);
521 c.lineTo(w, h - rSize);
522 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
542 currWidth = currWidth * w / minW;
559 buttonLeft = buttonLeft * w / minW;
560 var buttonRight = (buttonWidths[selectedButton] + 2 * labelOffset) * w / minW;
608 c.lineTo(w - rSize, 0);
609 c.arcTo(rSize, rSize, 0, 0, 1, w, rSize);
610 c.lineTo(w, h - rSize);
611 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
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);
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
715 var boxSizeX = w / (parseInt(gridSize[0],10) + (gridSize[0]-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));
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
1114 c.moveTo(w, 0);
1115 c.lineTo(w, h);
1160 mxShapeIOS7RightButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1168 c.lineTo(w - rSize, 0);
1169 c.arcTo(rSize, rSize, 0, 0, 1, w, rSize);
1170 c.lineTo(w, h - rSize);
1171 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
1213 mxShapeIOS7TopButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1220 c.moveTo(w, h);
1224 c.lineTo(w - rSize, 0);
1225 c.arcTo(rSize, rSize, 0, 0, 1, w, rSize);
1266 mxShapeIOS7BottomButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1273 c.moveTo(w, 0);
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);
1323 c.lineTo(w, 0);
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
1395 var w1 = w - marginRight - x1 - 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)
1456 c.lineTo(w - r, 0);
1457 c.arcTo(r, r, 0, 0, 1, w, r);
1458 c.lineTo(w, h - r);
1459 c.arcTo(r, r, 0, 0, 1, w - r, h);
1509 mxShapeIOS7SelectBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
1513 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1514 var dx2 = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx2', this.dx2))));
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);
1520 dx = Math.min(w - r - dy, w - 20 - dy, dx);
1528 c.lineTo(w - r, 0);
1529 c.arcTo(r, r, 0, 0, 1, w, r);
1530 c.lineTo(w, h - r);
1531 c.arcTo(r, r, 0, 0, 1, w - r, h);
1540 c.moveTo(w - Math.max(20, r), 0);
1541 c.lineTo(w - Math.max(20, r), h);
1548 while (currDx < (w - Math.max(20, r)))
1559 var x1 = w - w1 * 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
1684 c.lineTo(w, 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);