Lines Matching refs:c

72 mxShapeIOS7AppBar.prototype.paintVertexShape = function(c, x, y, w, h)  argument
74 c.translate(x, y);
75 this.background(c, x, y, w, h);
76 c.setShadow(false);
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);
83 c.fill();
86 mxShapeIOS7AppBar.prototype.foreground = function(c, x, y, w, h) argument
88 c.setFillColor(mxUtils.getValue(this.style, mxIOS7C.STYLE_FILLCOLOR2, '#222222'));
90 c.ellipse(5, h * 0.5 - 1.5, 3, 3);
91 c.fill();
92 c.ellipse(9, h * 0.5 - 1.5, 3, 3);
93 c.fill();
94 c.ellipse(13, h * 0.5 - 1.5, 3, 3);
95 c.fill();
96 c.ellipse(17, h * 0.5 - 1.5, 3, 3);
97 c.fill();
98 c.ellipse(21, h * 0.5 - 1.5, 3, 3);
99 c.fill();
101 c.ellipse(54, h * 0.5 + 2, 2, 2);
102 c.fillAndStroke();
104 c.setStrokeWidth(2);
105 c.begin();
106 c.moveTo(52, h * 0.5 + 1);
107 c.arcTo(3.5, 3.5, 0, 0, 1, 58, h * 0.5 + 1);
108 c.stroke();
110 c.begin();
111 c.moveTo(50, h * 0.5 - 1);
112 c.arcTo(6, 6, 0, 0, 1, 60, h * 0.5 - 1);
113 c.stroke();
115 c.begin();
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);
120 c.close();
121 c.fill();
123 c.setStrokeWidth(1);
124 c.begin();
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);
131 c.stroke();
133 c.begin();
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);
142 c.close();
143 c.stroke();
182 mxShapeIOS7OnOffButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
184 c.translate(x, y);
187 this.background(c, x, y, w, h, state);
188 c.setShadow(false);
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);
197 c.fillAndStroke();
201 c.setStrokeColor(mxUtils.getValue(this.style, mxIOS7C.STYLE_STROKECOLOR2, '#aaaaaa'));
202 c.setFillColor(mxUtils.getValue(this.style, mxIOS7C.STYLE_FILLCOLOR2, '#ffffff'));
203 c.roundrect(0, 0, w, h, h * 0.5, h * 0.5);
204 c.fillAndStroke();
209 mxShapeIOS7OnOffButton.prototype.foreground = function(c, x, y, w, h, state) argument
211 c.setFillColor('#ffffff');
215 c.ellipse(w - h + 1, 1, h - 2, h - 2);
216 c.fill();
220 c.ellipse(0, 0, h, h);
221 c.stroke();
255 mxShapeIOS7Slider.prototype.paintVertexShape = function(c, x, y, w, h) argument
257 c.translate(x, y);
258 c.setShadow(false);
260 this.foreground(c, w, h);
263 mxShapeIOS7Slider.prototype.foreground = function(c, w, h) argument
265 c.setStrokeWidth(2);
267 c.begin();
268 c.moveTo(0, h * 0.5);
269 c.lineTo(w, h * 0.5);
270 c.stroke();
279 c.setStrokeColor(mxUtils.getValue(this.style, mxIOS7C.STYLE_STROKECOLOR2, '#a0a0a0'));
280 c.ellipse(truePos - 5, h * 0.5 - 5, 10, 10);
281 c.fillAndStroke();
332 mxShapeIOS7DownloadBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
334 c.translate(x, y);
336 this.foreground(c, w, h);
339 mxShapeIOS7DownloadBar.prototype.foreground = function(c, w, h) argument
342 c.setFontStyle(mxConstants.FONT_BOLD);
343c.text(w * 0.5, h * 0.2, 0, 0, fieldText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, n…
350 c.setStrokeWidth(2);
351 c.setStrokeColor(mxUtils.getValue(this.style, mxConstants.STYLE_FILLCOLOR, ''));
352 c.begin();
353 c.moveTo(0, h * 0.5);
354 c.lineTo(w, h * 0.5);
355 c.stroke();
357 c.setStrokeColor(mxUtils.getValue(this.style, mxConstants.STYLE_STROKECOLOR, ''));
358 c.begin();
359 c.moveTo(0, h * 0.5);
360 c.lineTo(truePos, h * 0.5);
361 c.stroke();
406 mxShapeIOS7Icon.prototype.paintVertexShape = function(c, x, y, w, h) argument
408 c.translate(x, y);
410 this.foreground(c, w, h);
413 mxShapeIOS7Icon.prototype.foreground = function(c, w, h) argument
415c.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);
417 c.fill();
420 c.setFontColor('#ffffff');
421 c.setFontStyle(mxConstants.FONT_BOLD);
422 c.setFontSize(8);
423c.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
487 c.translate(x, y);
488 …this.background(c, trueW, trueH, rSize, buttonNum, buttonWidths, labelOffset, minW, frameColor, bg…
489 c.setShadow(false);
497 c.setFontColor(selectedFontColor);
501 c.setFontColor(fontColor);
505 this.buttonText(c, currWidth, trueH, textStrings[i], buttonWidths[i], fontSize, minW, trueW);
510 mxShapeIOS7horButtonBar.prototype.background = function(c, w, h, rSize, buttonNum, buttonWidths, la… argument
512 c.begin();
515 c.setStrokeColor(frameColor);
516 c.setFillColor(bgColor);
517 c.moveTo(0, rSize);
518 c.arcTo(rSize, rSize, 0, 0, 1, rSize, 0);
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);
523 c.lineTo(rSize, h);
524 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
525 c.close();
526 c.fillAndStroke();
529 c.setStrokeColor(frameColor);
530 c.begin();
543 c.moveTo(currWidth, 0);
544 c.lineTo(currWidth, h);
548 c.stroke();
552 c.setStrokeColor(mxConstants.NONE);
562 c.setFillColor('#0080F0');
566 c.begin();
568 c.moveTo(0, rSize);
569 c.arcTo(rSize, rSize, 0, 0, 1, rSize, 0);
570 c.lineTo(buttonRight, 0);
571 c.lineTo(buttonRight, h);
572 c.lineTo(rSize, h);
573 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
574 c.close();
575 c.fill();
579 c.begin();
581 c.moveTo(buttonLeft, 0);
582 c.lineTo(buttonRight - rSize, 0);
583 c.arcTo(rSize, rSize, 0, 0, 1, buttonRight, rSize);
584 c.lineTo(buttonRight, h - rSize);
585 c.arcTo(rSize, rSize, 0, 0, 1, buttonRight - rSize, h);
586 c.lineTo(buttonLeft, h);
587 c.close();
588 c.fill();
592 c.begin();
594 c.moveTo(buttonLeft, 0);
595 c.lineTo(buttonRight, 0);
596 c.lineTo(buttonRight, h);
597 c.lineTo(buttonLeft, h);
598 c.close();
599 c.fill();
603 c.setStrokeColor(frameColor);
604 c.setFillColor(bgColor);
605 c.begin();
606 c.moveTo(0, rSize);
607 c.arcTo(rSize, rSize, 0, 0, 1, rSize, 0);
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);
612 c.lineTo(rSize, h);
613 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
614 c.close();
615 c.stroke();
618 mxShapeIOS7horButtonBar.prototype.buttonText = function(c, w, h, textString, buttonWidth, fontSize,… argument
625 c.begin();
626 c.setFontSize(fontSize);
627c.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
659 c.translate(x, y);
665 c.setFillColor(strokeColor);
666 c.ellipse(0, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
667 c.fill();
668 c.ellipse(w * 0.25 - rSize * 0.5, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
669 c.fill();
670 c.ellipse(w * 0.5 - rSize, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
671 c.fill();
672 c.ellipse(w * 0.75 - rSize * 1.5, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
673 c.fill();
674 c.setFillColor(fillColor);
675 c.ellipse(w - 2 * rSize, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
676 c.fill();
710 mxShapeIOS7iconGrid.prototype.paintVertexShape = function(c, x, y, w, h) argument
712 c.translate(x, y);
722 c.rect(boxSizeX * 1.1 * i, boxSizeY * 1.1 * j, boxSizeX, boxSizeY);
723 c.fill();
755 mxShapeIOS7phone.prototype.paintVertexShape = function(c, x, y, w, h) argument
757 c.translate(x, y);
760 c.roundrect(0, 0, w, h, rSize, rSize);
761 c.fillAndStroke();
763 c.setShadow(false);
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);
771 c.stroke();
773 c.ellipse(w * 0.4875, h * 0.04125, w * 0.025, h * 0.0125);
774 c.stroke();
776 c.roundrect(w * 0.375, h * 0.075, w * 0.25, h * 0.01875, w * 0.02, h * 0.01);
777 c.stroke();
778 c.ellipse(w * 0.4, h * 0.875, w * 0.2, h * 0.1);
779 c.stroke();
780 c.roundrect(w * 0.4575, h * 0.905, w * 0.085, h * 0.04375, h * 0.00625, h * 0.00625);
781 c.stroke();
811 mxShapeIOS7searchBox.prototype.paintVertexShape = function(c, x, y, w, h) argument
813 c.translate(x, y);
814 this.background(c, w, h);
815 c.setShadow(false);
816 this.foreground(c, w, h);
819 mxShapeIOS7searchBox.prototype.background = function(c, w, h) argument
821 c.rect(0, 0, w, h);
822 c.fill();
825 mxShapeIOS7searchBox.prototype.foreground = function(c, w, h) argument
833 c.setFillColor('#ffffff');
834 c.roundrect(w * 0.05, h * 0.15, w * 0.5, h * 0.7, rSize, rSize);
835 c.fillAndStroke();
837 c.setFontColor(fontColor);
838 c.setFontSize(Math.min(h * 0.7, w * 0.1));
840c.text(5, h * 0.5, 0, 0, mainText, mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0, null, 0, 0…
842 c.setStrokeColor(strokeColor2);
843 c.ellipse(w * 0.05 + 3, h * 0.5 - 3, 4, 4);
844 c.stroke();
845 c.begin();
846 c.moveTo(w * 0.05 + 8, h * 0.5 + 3.5);
847 c.lineTo(w * 0.05 + 6, h * 0.5 + 0.5);
848 c.stroke();
878 mxShapeIOS7URL.prototype.paintVertexShape = function(c, x, y, w, h) argument
880 c.translate(x, y);
881 this.background(c, w, h);
882 c.setShadow(false);
883 this.foreground(c, w, h);
886 mxShapeIOS7URL.prototype.background = function(c, w, h) argument
888 c.rect(0, 0, w, h);
889 c.fill();
892 mxShapeIOS7URL.prototype.foreground = function(c, w, h) argument
900 c.setFillColor('#d8d8d8');
901 c.roundrect(w * 0.05, h * 0.15, w * 0.9, h * 0.7, rSize, rSize);
902 c.fill();
904 c.setFontColor(fontColor);
905 c.setFontSize(Math.min(h * 0.7, w * 0.1));
907c.text(w * 0.5, h * 0.5, 0, 0, mainText, mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0, null…
909 c.setStrokeColor(strokeColor2);
910 c.begin();
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);
913 c.stroke();
915 c.setFillColor(strokeColor2);
916 c.begin();
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);
920 c.close();
921 c.fillAndStroke();
951 mxShapeIOS7Actiondialog.prototype.paintVertexShape = function(c, x, y, w, h) argument
957 c.translate(x, y);
958 this.background(c, x, y, w, h);
960 c.setShadow(false);
962 c.setFillColor('#e0e0e0');
963 c.roundrect(w * 0.05, h * 0.1, w * 0.9, h * 0.35, w * 0.025, h * 0.05);
964 c.fill();
965 c.roundrect(w * 0.05, h * 0.55, w * 0.9, h * 0.35, w * 0.025, h * 0.05);
966 c.fill();
968 c.setFontStyle(mxConstants.FONT_BOLD);
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);
976 c.fill();
979 mxShapeIOS7Actiondialog.prototype.mainText = function(c, x, y, w, h, text, fontSize, fontColor) argument
981 c.begin();
982 c.setFontSize(fontSize);
983 c.setFontColor(fontColor);
984c.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
989 c.begin();
990 c.setFontSize(fontSize);
991c.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
1064 c.translate(x, y);
1067 c.roundrect(0, 0, w, h, rSize);
1068 c.fillAndStroke();
1107 mxShapeIOS7LeftButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1109 c.translate(x, y);
1113 c.begin();
1114 c.moveTo(w, 0);
1115 c.lineTo(w, h);
1116 c.lineTo(rSize, h);
1117 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
1118 c.lineTo(0, rSize);
1119 c.arcTo(rSize, rSize, 0, 0, 1, rSize, 0);
1120 c.close();
1121 c.fillAndStroke();
1160 mxShapeIOS7RightButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1162 c.translate(x, y);
1166 c.begin();
1167 c.moveTo(0, 0);
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);
1172 c.lineTo(0, h);
1173 c.close();
1174 c.fillAndStroke();
1213 mxShapeIOS7TopButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1215 c.translate(x, y);
1219 c.begin();
1220 c.moveTo(w, h);
1221 c.lineTo(0, h);
1222 c.lineTo(0, rSize);
1223 c.arcTo(rSize, rSize, 0, 0, 1, rSize, 0);
1224 c.lineTo(w - rSize, 0);
1225 c.arcTo(rSize, rSize, 0, 0, 1, w, rSize);
1226 c.close();
1227 c.fillAndStroke();
1266 mxShapeIOS7BottomButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1268 c.translate(x, y);
1272 c.begin();
1273 c.moveTo(w, 0);
1274 c.lineTo(0, 0);
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);
1279 c.close();
1280 c.fillAndStroke();
1314 mxShapeIOS7HorLines.prototype.paintVertexShape = function(c, x, y, w, h) argument
1316 c.translate(x, y);
1318 c.rect(0, 0, w, h);
1319 c.fill();
1321 c.begin();
1322 c.moveTo(0, 0);
1323 c.lineTo(w, 0);
1324 c.moveTo(0, h);
1325 c.lineTo(w, h);
1326 c.stroke();
1376 mxShapeIOS7MarginRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
1379 c.translate(x, y);
1380 this.background(c, x, y, w, h);
1383 mxShapeIOS7MarginRect.prototype.background = function(c, x, y, w, h, state) argument
1400 c.begin();
1401 c.roundrect(x1, y1, w1, h1, rx, ry);
1402 c.fillAndStroke();
1437 mxShapeIOS7Callout.prototype.paintVertexShape = function(c, x, y, w, h) argument
1440 c.translate(x, y);
1441 this.background(c, x, y, w, h);
1444 mxShapeIOS7Callout.prototype.background = function(c, x, y, w, h, state) argument
1450 c.begin();
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);
1454 c.lineTo(r, r);
1455 c.arcTo(r, r, 0, 0, 1, r * 2, 0);
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);
1460 c.lineTo(r * 2, h);
1461 c.arcTo(r, r, 0, 0, 1, r * 1.5, h - r * 0.3);
1462 c.close();
1463 c.fillAndStroke();
1509 mxShapeIOS7SelectBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
1511 c.translate(x, y);
1522 c.begin();
1523 c.moveTo(dx - dy, h);
1524 c.lineTo(r, h);
1525 c.arcTo(r, r, 0, 0, 1, 0, h - r);
1526 c.lineTo(0, r);
1527 c.arcTo(r, r, 0, 0, 1, r, 0);
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);
1532 c.lineTo(dx + dy, h);
1533 c.lineTo(dx, h + dy);
1534 c.close();
1535 c.fillAndStroke();
1537 c.setShadow(false);
1539 c.begin();
1540 c.moveTo(w - Math.max(20, r), 0);
1541 c.lineTo(w - Math.max(20, r), h);
1542 c.stroke();
1546 c.begin();
1550 c.moveTo(currDx, 0);
1551 c.lineTo(currDx, h);
1556 c.stroke();
1562 c.setFillColor(mxUtils.getValue(this.style, mxConstants.STYLE_STROKECOLOR, ''));
1563 c.begin();
1564 c.moveTo(x1 - w1 * 0.15, y1 - w1 * 0.225);
1565 c.lineTo(x1 + w1 * 0.25, y1);
1566 c.lineTo(x1 - w1 * 0.15, y1 + w1 * 0.225);
1567 c.close();
1568 c.fill();
1665 mxShapeIOS7Slider2.prototype.paintVertexShape = function(c, x, y, w, h) argument
1668 c.translate(x, y);
1669 this.background(c, x, y, w, h);
1670 c.setShadow(true);
1673 mxShapeIOS7Slider2.prototype.background = function(c, x, y, w, h) argument
1680 c.save();
1681 c.setStrokeColor('#bbbbbb');
1682 c.begin();
1683 c.moveTo(0, h * 0.5);
1684 c.lineTo(w, h * 0.5);
1685 c.fillAndStroke();
1688 c.restore();
1689 c.begin();
1690 c.moveTo(0, h * 0.5);
1691 c.lineTo(barPos * w, h * 0.5);
1692 c.fillAndStroke();
1694 c.setStrokeColor('#bbbbbb');
1695 c.begin();
1696 c.ellipse(barPos * w - hSize * 0.5, h * 0.5 - hSize * 0.5, hSize, hSize);
1697 c.fillAndStroke();