Lines Matching refs:c

40 mxShapeBootstrapRRect.prototype.paintVertexShape = function(c, x, y, w, h)  argument
42 c.translate(x, y);
45 c.roundrect(0, 0, w, h, rSize);
46 c.fillAndStroke();
85 mxShapeBootstrapTopButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
87 c.translate(x, y);
91 c.begin();
92 c.moveTo(0, rSize);
93 c.arcTo(rSize, rSize, 0, 0, 1, rSize, 0);
94 c.lineTo(w - rSize, 0);
95 c.arcTo(rSize, rSize, 0, 0, 1, w, rSize);
96 c.lineTo(w, h);
97 c.lineTo(0, h);
98 c.close();
99 c.fillAndStroke();
138 mxShapeBootstrapBottomButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
140 c.translate(x, y);
144 c.begin();
145 c.moveTo(0, 0);
146 c.lineTo(w, 0);
147 c.lineTo(w, h - rSize);
148 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
149 c.lineTo(rSize, h);
150 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
151 c.close();
152 c.fillAndStroke();
191 mxShapeBootstrapRightButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
193 c.translate(x, y);
197 c.begin();
198 c.moveTo(0, 0);
199 c.lineTo(w - rSize, 0);
200 c.arcTo(rSize, rSize, 0, 0, 1, w, rSize);
201 c.lineTo(w, h - rSize);
202 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
203 c.lineTo(0, h);
204 c.close();
205 c.fillAndStroke();
244 mxShapeBootstrapLeftButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
246 c.translate(x, y);
250 c.begin();
251 c.moveTo(w, 0);
252 c.lineTo(w, h);
253 c.lineTo(rSize, h);
254 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
255 c.lineTo(0, rSize);
256 c.arcTo(rSize, rSize, 0, 0, 1, rSize, 0);
257 c.close();
258 c.fillAndStroke();
294 mxShapeBootstrapLeftButtonStriped.prototype.paintVertexShape = function(c, x, y, w, h) argument
296 c.translate(x, y);
299 c.begin();
300 c.moveTo(w, 0);
301 c.lineTo(w, h);
302 c.lineTo(rSize, h);
303 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
304 c.lineTo(0, rSize);
305 c.arcTo(rSize, rSize, 0, 0, 1, rSize, 0);
306 c.close();
307 c.fill();
311 c.setAlpha('0.2');
314 c.setFillColor(fillColor);
315 c.begin();
316 c.moveTo(0, h * 0.75);
317 c.lineTo(0, h * 0.25);
318 c.lineTo(h * 0.75, h);
319 c.lineTo(h * 0.25, h);
320 c.close();
321 c.fill();
328 c.begin();
329 c.moveTo(startX, 0);
333 c.lineTo(w, 0);
334 c.lineTo(w, w - startX);
338 c.lineTo(startX + stripeW, 0);
342 c.lineTo(w, w - startX - stripeW);
346 c.lineTo(w, h);
347 c.lineTo(startX + h, h);
351 c.lineTo(w, w - startX);
356 c.lineTo(startX + stripeW + h, h);
357 c.lineTo(startX + h, h);
361 c.close();
362 c.fill();
406 mxShapeBootstrapRoundedButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
408 c.translate(x, y);
414 c.begin();
415 c.moveTo(w - r, 0);
416 c.arcTo(r, r, 0, 0, 1, w - r, h);
417 c.lineTo(r, h);
418 c.arcTo(r, r, 0, 0, 1, r, 0);
419 c.close();
420 c.fillAndStroke();
426 c.begin();
427 c.moveTo(0, h - r);
428 c.arcTo(r, r, 0, 0, 0, w, h - r);
429 c.lineTo(w, r);
430 c.arcTo(r, r, 0, 0, 0, 0, r);
431 c.close();
432 c.fillAndStroke();
469 mxShapeBootstrapArrow.prototype.paintVertexShape = function(c, x, y, w, h) argument
471 c.translate(x, y);
473 c.begin();
474 c.moveTo(0, h * 0.5);
475 c.lineTo(w, h * 0.5);
476 c.moveTo(w * 0.9, 0);
477 c.lineTo(w, h * 0.5);
478 c.lineTo(w * 0.9, h);
479 c.stroke();
518 mxShapeBootstrapTabTop.prototype.paintVertexShape = function(c, x, y, w, h) argument
520 c.translate(x, y);
525 c.setStrokeColor(fillColor);
526 c.begin();
527 c.moveTo(0, rSize);
528 c.arcTo(rSize, rSize, 0, 0, 1, rSize, 0);
529 c.lineTo(w - rSize, 0);
530 c.arcTo(rSize, rSize, 0, 0, 1, w, rSize);
531 c.lineTo(w, h);
532 c.lineTo(0, h);
533 c.close();
534 c.fillAndStroke();
536 c.setStrokeColor(strokeColor);
537 c.begin();
538 c.moveTo(0, h);
539 c.lineTo(0, rSize);
540 c.arcTo(rSize, rSize, 0, 0, 1, rSize, 0);
541 c.lineTo(w - rSize, 0);
542 c.arcTo(rSize, rSize, 0, 0, 1, w, rSize);
543 c.lineTo(w, h);
544 c.stroke();
583 mxShapeBootstrapImage.prototype.paintVertexShape = function(c, x, y, w, h) argument
585 c.translate(x, y);
590 c.begin();
591 c.moveTo(0, rSize);
592 c.arcTo(rSize, rSize, 0, 0, 1, rSize, 0);
593 c.lineTo(w - rSize, 0);
594 c.arcTo(rSize, rSize, 0, 0, 1, w, rSize);
595 c.lineTo(w, h - rSize);
596 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
597 c.lineTo(rSize, h);
598 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
599 c.close();
600 c.stroke();
603 c.translate(rsHalf, rsHalf);
607 c.begin();
608 c.moveTo(0, rsHalf);
609 c.arcTo(rsHalf, rsHalf, 0, 0, 1, rsHalf, 0);
610 c.lineTo(w - rsHalf, 0);
611 c.arcTo(rsHalf, rsHalf, 0, 0, 1, w, rsHalf);
612 c.lineTo(w, h - rsHalf);
613 c.arcTo(rsHalf, rsHalf, 0, 0, 1, w - rsHalf, h);
614 c.lineTo(rsHalf, h);
615 c.arcTo(rsHalf, rsHalf, 0, 0, 1, 0, h - rsHalf);
616 c.close();
617 c.fill();
653 mxShapeBootstrapCheckbox.prototype.paintVertexShape = function(c, x, y, w, h) argument
655 c.translate(x, y);
657 c.roundrect(0, 0, w, h, rSize, rSize);
658 c.fillAndStroke();
660 c.setStrokeWidth('3');
661 c.begin();
662 c.moveTo(w * 0.8, h * 0.2);
663 c.lineTo(w * 0.4, h * 0.8);
664 c.lineTo(w * 0.25, h * 0.6);
665 c.stroke();
705 mxShapeBootstrapCheckbox2.prototype.paintVertexShape = function(c, x, y, w, h) argument
711 c.translate(x, y);
716 c.setFillColor(checkedFill);
717 c.setStrokeColor(checkedStroke);
719 c.roundrect(0, 0, w, h, rSize, rSize);
720 c.fill();
722 c.setStrokeWidth('2');
723 c.begin();
724 c.moveTo(w * 0.8, h * 0.2);
725 c.lineTo(w * 0.4, h * 0.75);
726 c.lineTo(w * 0.25, h * 0.6);
727 c.stroke();
731 c.roundrect(0, 0, w, h, rSize, rSize);
732 c.fillAndStroke();
769 mxShapeBootstrapRadioButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
771 c.translate(x, y);
774 c.ellipse(0, 0, w, h);
775 c.fillAndStroke();
777 c.setFillColor(strokeColor);
778 c.ellipse(w * 0.25, h * 0.25, w * 0.5, h * 0.5);
779 c.fill();
819 mxShapeBootstrapRadioButton2.prototype.paintVertexShape = function(c, x, y, w, h) argument
825 c.translate(x, y);
829 c.setFillColor(checkedFill);
830 c.setStrokeColor(checkedFill);
832 c.ellipse(0, 0, w, h);
833 c.fillAndStroke();
835 c.setFillColor(checkedStroke);
836 c.ellipse(w * 0.2, h * 0.2, w * 0.6, h * 0.6);
837 c.fill();
841 c.ellipse(0, 0, w, h);
842 c.fillAndStroke();
879 mxShapeBootstrapHorLines.prototype.paintVertexShape = function(c, x, y, w, h) argument
881 c.translate(x, y);
883 c.rect(0, 0, w, h);
884 c.fill();
886 c.begin();
887 c.moveTo(0, 0);
888 c.lineTo(w, 0);
889 c.moveTo(0, h);
890 c.lineTo(w, h);
891 c.stroke();
927 mxShapeBootstrapUserTwo.prototype.paintVertexShape = function(c, x, y, w, h) argument
929 c.translate(x, y);
931 c.begin();
932 c.moveTo(0, h * 0.95);
933 c.arcTo(w * 0.3, h * 0.3, 0, 0, 1, w * 0.02, h * 0.87);
934 c.arcTo(w * 0.1, h * 0.1, 0, 0, 1, w * 0.08, h * 0.812);
935 c.arcTo(w * 3, h * 3, 0, 0, 1, w * 0.29, h * 0.732);
936 c.arcTo(w * 0.15, h * 0.15, 0, 0, 0, w * 0.385, h * 0.607);
937 c.arcTo(w * 0.11, h * 0.11, 0, 0, 0, w * 0.355, h * 0.53);
938 c.arcTo(w * 0.3, h * 0.3, 0, 0, 1, w * 0.305, h * 0.44);
939 c.arcTo(w * 0.33, h * 0.38, 0, 0, 1, w * 0.312, h * 0.15);
940 c.arcTo(w * 0.218, h * 0.218 , 0, 0, 1, w * 0.688, h * 0.15);
941 c.arcTo(w * 0.33, h * 0.38, 0, 0, 1, w * 0.693, h * 0.44);
942 c.arcTo(w * 0.25, h * 0.25, 0, 0, 1, w * 0.645, h * 0.53);
943 c.arcTo(w * 0.1, h * 0.1, 0, 0, 0, w * 0.612, h * 0.6);
944 c.arcTo(w * 0.15, h * 0.15, 0, 0, 0, w * 0.7, h * 0.726);
945 c.arcTo(w * 3, h * 3, 0, 0, 1, w * 0.92, h * 0.812);
946 c.arcTo(w * 0.1, h * 0.1, 0, 0, 1, w * 0.97, h * 0.865);
947 c.arcTo(w * 0.2, h * 0.2, 0, 0, 1, w * 0.995, h * 0.952);
948 c.close();
949 c.fill();
999 mxShapeBootstrapRating.prototype.paintVertexShape = function(c, x, y, w, h) argument
1005 c.translate(x, y);
1011 c.begin();
1012 c.moveTo(i * h * 1.2, 0.33 * h);
1013 c.lineTo(i * h * 1.2 + 0.364 * h, 0.33 * h);
1014 c.lineTo(i * h * 1.2 + 0.475 * h, 0);
1015 c.lineTo(i * h * 1.2 + 0.586 * h, 0.33 * h);
1016 c.lineTo(i * h * 1.2 + 0.95 * h, 0.33 * h);
1017 c.lineTo(i * h * 1.2 + 0.66 * h, 0.551 * h);
1018 c.lineTo(i * h * 1.2 + 0.775 * h, 0.9 * h);
1019 c.lineTo(i * h * 1.2 + 0.475 * h, 0.684 * h);
1020 c.lineTo(i * h * 1.2 + 0.175 * h, 0.9 * h);
1021 c.lineTo(i * h * 1.2 + 0.29 * h, 0.551 * h);
1022 c.close();
1023 c.fillAndStroke();
1030 c.begin();
1031 c.moveTo(i * h * 1.2 + h * 0.519, h * 0.947);
1032 c.curveTo(i * h * 1.2 + h * 0.558, h * 0.908,
1035 c.curveTo(i * h * 1.2 + h * 1.039, h * 0.414,
1038 c.curveTo(i * h * 1.2 + h * 0.812, 0,
1041 c.curveTo(i * h * 1.2 + h * 0.408, 0,
1044 c.curveTo(i * h * 1.2 + h * 0.03, h * 0.229,
1047 c.close();
1048 c.fillAndStroke();
1053 c.setFillColor(emptyFillColor);
1059 c.begin();
1060 c.moveTo(i * h * 1.2, 0.33 * h);
1061 c.lineTo(i * h * 1.2 + 0.364 * h, 0.33 * h);
1062 c.lineTo(i * h * 1.2 + 0.475 * h, 0);
1063 c.lineTo(i * h * 1.2 + 0.586 * h, 0.33 * h);
1064 c.lineTo(i * h * 1.2 + 0.95 * h, 0.33 * h);
1065 c.lineTo(i * h * 1.2 + 0.66 * h, 0.551 * h);
1066 c.lineTo(i * h * 1.2 + 0.775 * h, 0.9 * h);
1067 c.lineTo(i * h * 1.2 + 0.475 * h, 0.684 * h);
1068 c.lineTo(i * h * 1.2 + 0.175 * h, 0.9 * h);
1069 c.lineTo(i * h * 1.2 + 0.29 * h, 0.551 * h);
1070 c.close();
1071 c.fillAndStroke();
1078 c.begin();
1079 c.moveTo(i * h * 1.2 + h * 0.519, h * 0.947);
1080 c.curveTo(i * h * 1.2 + h * 0.558, h * 0.908,
1083 c.curveTo(i * h * 1.2 + h * 1.039, h * 0.414,
1086 c.curveTo(i * h * 1.2 + h * 0.812, 0,
1089 c.curveTo(i * h * 1.2 + h * 0.408, 0,
1092 c.curveTo(i * h * 1.2 + h * 0.03, h * 0.229,
1095 c.close();
1096 c.fillAndStroke();
1130 mxShapeBoostrapAnchor.prototype.paintVertexShape = function(c, x, y, w, h) argument
1178 mxShapeBootstrapRangeInput.prototype.paintVertexShape = function(c, x, y, w, h) argument
1190 c.translate(x, y);
1208 c.setGradient(fillColor, fillColor, 0, 0, w, h, gradientDir, op1, op2);
1210 c.rect(0, h * 0.5 - 2, w, 4);
1211 c.fill();
1215 c.begin();
1216 c.moveTo(0, h * 0.5);
1217 c.arcTo(r, r, 0, 0, 1, r, h * 0.5 - r);
1218 c.lineTo(w - r, h * 0.5 - r);
1219 c.arcTo(r, r, 0, 0, 1, w, h * 0.5);
1220 c.arcTo(r, r, 0, 0, 1, w - r, h * 0.5 + r);
1221 c.lineTo(r, h * 0.5 + r);
1222 c.arcTo(r, r, 0, 0, 1, 0, h * 0.5);
1223 c.close();
1224 c.fill();
1229 c.setGradient(fillColor, gradientColor, 0, 0, w, h, gradientDir, op1, op2);
1232 c.rect(dx - hw * 0.5, 0, hw, h);
1233 c.fillAndStroke();
1235 c.begin();
1236 c.moveTo(dx - hw * 0.25, h * 0.3);
1237 c.lineTo(dx + hw * 0.25, h * 0.3);
1238 c.moveTo(dx - hw * 0.25, h * 0.5);
1239 c.lineTo(dx + hw * 0.25, h * 0.5);
1240 c.moveTo(dx - hw * 0.25, h * 0.7);
1241 c.lineTo(dx + hw * 0.25, h * 0.7);
1242 c.stroke();
1246 c.setFillColor(strokeColor);
1247 c.ellipse(dx - barH, 0, 2 * barH, 2 * barH);
1248 c.fill();
1306 mxShapeBootstrapSwitch.prototype.paintVertexShape = function(c, x, y, w, h) argument
1308 c.translate(x, y);
1311 this.background(c, x, y, w, h, state);
1312 c.setShadow(false);
1313 this.foreground(c, x, y, w, h, state);
1316 mxShapeBootstrapSwitch.prototype.background = function(c, x, y, w, h, state) argument
1320 c.setStrokeColor(mxUtils.getValue(this.style, 'onStrokeColor', '#ffffff'));
1321 c.setFillColor(mxUtils.getValue(this.style, 'onFillColor', '#0085FC'));
1323 c.roundrect(0, 0, w, h, h * 0.5, h * 0.5);
1324 c.fill();
1328 c.roundrect(0, 0, w, h, h * 0.5, h * 0.5);
1329 c.fillAndStroke();
1334 mxShapeBootstrapSwitch.prototype.foreground = function(c, x, y, w, h, state) argument
1340 c.setFillColor(mxUtils.getValue(this.style, 'onStrokeColor', '#ffffff'));
1341 c.ellipse(w - h * 0.9, h * 0.1, r, r);
1342 c.fill();
1346 c.setFillColor(mxUtils.getValue(this.style, 'strokeColor', '#000000'));
1347 c.ellipse(h * 0.1, h * 0.1, r, r);
1348 c.fill();
1383 mxShapeBootstrapX.prototype.paintVertexShape = function(c, x, y, w, h) argument
1385 c.translate(x, y);
1387 c.begin();
1388 c.moveTo(0, 0);
1389 c.lineTo(w, h);
1390 c.moveTo(w, 0);
1391 c.lineTo(0, h);
1392 c.stroke();
1432 mxShapeInfographicPopover.prototype.paintVertexShape = function(c, x, y, w, h) argument
1434 c.translate(x, y);
1443 c.begin();
1444 c.moveTo(r, 0);
1445 c.lineTo(w - r, 0);
1446 c.arcTo(r, r, 0, 0, 1, w, r);
1447 c.lineTo(w, h - dy - r);
1448 c.arcTo(r, r, 0, 0, 1, w - r, h - dy);
1449 c.lineTo(x2, h - dy);
1450 c.lineTo(dx, h);
1451 c.lineTo(x1, h - dy);
1452 c.lineTo(r, h - dy);
1453 c.arcTo(r, r, 0, 0, 1, 0, h - dy - r);
1454 c.lineTo(0, r);
1455 c.arcTo(r, r, 0, 0, 1, r, 0);
1456 c.close();
1457 c.fillAndStroke();