Lines Matching refs:c
46 mxShapeMockupBarChart.prototype.paintVertexShape = function(c, x, y, w, h) argument
48 c.translate(x, y);
50 this.background(c, x, y, w, h);
56 c.setShadow(false);
59 this.bars(c, x, y, w, h);
62 mxShapeMockupBarChart.prototype.background = function(c, x, y, w, h, bgColor, frameColor) argument
64 c.rect(0, 0, w, h);
65 c.fillAndStroke();
68 mxShapeMockupBarChart.prototype.bars = function(c, x, y, w, h) argument
77 c.setStrokeColor(barStroke);
78 c.setFillColor(barFill1);
79 c.rect(0, h * 0.2, w * 0.75, h * 0.05);
80 c.fillAndStroke();
81 c.rect(0, h * 0.45, w * 0.6, h * 0.05);
82 c.fillAndStroke();
83 c.rect(0, h * 0.7, w * 0.95, h * 0.05);
84 c.fillAndStroke();
86 c.setFillColor(barFill2);
87 c.rect(0, h * 0.25, w * 0.85, h * 0.05);
88 c.fillAndStroke();
89 c.rect(0, h * 0.5, w * 0.65, h * 0.05);
90 c.fillAndStroke();
91 c.rect(0, h * 0.75, w * 0.8, h * 0.05);
92 c.fillAndStroke();
94 c.setStrokeWidth(strokeWidth * 2);
95 c.setStrokeColor(coordStroke);
97 c.setShadow(false);
98 c.begin();
99 c.moveTo(0,0);
100 c.lineTo(0, h);
101 c.lineTo(w, h);
102 c.stroke();
147 mxShapeMockupColumnChart.prototype.paintVertexShape = function(c, x, y, w, h) argument
149 c.translate(x, y);
151 this.background(c, x, y, w, h);
157 c.setShadow(false);
160 this.bars(c, x, y, w, h);
163 mxShapeMockupColumnChart.prototype.background = function(c, x, y, w, h, bgColor, frameColor) argument
165 c.rect(0, 0, w, h);
166 c.fillAndStroke();
169 mxShapeMockupColumnChart.prototype.bars = function(c, x, y, w, h) argument
178 c.setStrokeColor(barStroke);
179 c.setFillColor(barFill1);
180 c.rect(w * 0.2, h * 0.25, w * 0.05, h * 0.75);
181 c.fillAndStroke();
182 c.rect(w * 0.45, h * 0.4, w * 0.05, h * 0.6);
183 c.fillAndStroke();
184 c.rect(w * 0.7, h * 0.05, w * 0.05, h * 0.95);
185 c.fillAndStroke();
187 c.setFillColor(barFill2);
188 c.rect(w * 0.25, h * 0.15, w * 0.05, h * 0.85);
189 c.fillAndStroke();
190 c.rect(w * 0.5, h * 0.35, w * 0.05, h * 0.65);
191 c.fillAndStroke();
192 c.rect(w * 0.75, h * 0.2, w * 0.05, h * 0.8);
193 c.fillAndStroke();
195 c.setStrokeWidth(strokeWidth * 2);
196 c.setStrokeColor(coordStroke);
198 c.setShadow(false);
200 c.begin();
201 c.moveTo(0,0);
202 c.lineTo(0, h);
203 c.lineTo(w, h);
204 c.stroke();
247 mxShapeMockupLineChart.prototype.paintVertexShape = function(c, x, y, w, h) argument
249 c.translate(x, y);
251 this.background(c, x, y, w, h);
257 c.setShadow(false);
260 this.bars(c, x, y, w, h);
263 mxShapeMockupLineChart.prototype.background = function(c, x, y, w, h, bgColor, frameColor) argument
265 c.rect(0, 0, w, h);
266 c.fillAndStroke();
269 mxShapeMockupLineChart.prototype.bars = function(c, x, y, w, h) argument
277 c.setStrokeWidth(strokeWidth * 2);
278 c.setStrokeColor(line2Stroke);
279 c.begin();
280 c.moveTo(0, h);
281 c.lineTo(w * 0.3, h * 0.5);
282 c.lineTo(w * 0.6, h * 0.74);
283 c.lineTo(w * 0.9, h * 0.24);
284 c.stroke();
286 c.setStrokeColor(line1Stroke);
287 c.begin();
288 c.moveTo(0, h);
289 c.lineTo(w * 0.3, h * 0.65);
290 c.lineTo(w * 0.6, h * 0.6);
291 c.lineTo(w * 0.9, h * 0.35);
292 c.stroke();
294 c.setStrokeColor(coordStroke);
295 c.setShadow(false);
297 c.begin();
298 c.moveTo(0,0);
299 c.lineTo(0, h);
300 c.lineTo(w, h);
301 c.stroke();
343 mxShapeMockupPieChart.prototype.paintVertexShape = function(c, x, y, w, h) argument
345 c.translate(x, y);
346 this.background(c, x, y, w, h);
347 c.setShadow(false);
348 this.foreground(c, x, y, w, h);
351 mxShapeMockupPieChart.prototype.background = function(c, x, y, w, h, bgColor, frameColor) argument
353 c.ellipse(0, 0, w, h);
354 c.fillAndStroke();
357 mxShapeMockupPieChart.prototype.foreground = function(c, x, y, w, h) argument
374 c.setFillColor(partColors[i]);
378 c.setFillColor('#ff0000');
411 c.begin();
412 c.moveTo(w * 0.5, h * 0.5);
413 c.lineTo(x2, y2);
414 c.arcTo(w * 0.5, h * 0.5, 0, largeArc, 1, x1, y1);
415 c.close();
416 c.fillAndStroke();
452 mxShapeMockupIconGrid.prototype.paintVertexShape = function(c, x, y, w, h) argument
454 c.translate(x, y);
456 this.background(c, w, h, gridSize);
457 c.setShadow(false);
459 this.foreground(c, w, h, gridSize);
462 mxShapeMockupIconGrid.prototype.background = function(c, w, h, gridSize) argument
471 c.rect(boxSizeX * 1.5 * i, boxSizeY * 1.5 * j, boxSizeX, boxSizeY);
472 c.fillAndStroke();
477 mxShapeMockupIconGrid.prototype.foreground = function(c, w, h, gridSize) argument
486 c.begin();
487 c.moveTo(boxSizeX * 1.5 * i, boxSizeY * 1.5 * j);
488 c.lineTo(boxSizeX * 1.5 * i + boxSizeX, boxSizeY * 1.5 * j + boxSizeY);
489 c.moveTo(boxSizeX * 1.5 * i + boxSizeX, boxSizeY * 1.5 * j);
490 c.lineTo(boxSizeX * 1.5 * i, boxSizeY * 1.5 * j + boxSizeY);
491 c.stroke();
538 mxShapeMockupBubbleChart.prototype.paintVertexShape = function(c, x, y, w, h) argument
540 c.translate(x, y);
542 this.background(c, x, y, w, h);
548 c.setShadow(false);
551 this.bars(c, x, y, w, h);
554 mxShapeMockupBubbleChart.prototype.background = function(c, x, y, w, h, bgColor, frameColor) argument
556 c.rect(0, 0, w, h);
557 c.fillAndStroke();
560 mxShapeMockupBubbleChart.prototype.bars = function(c, x, y, w, h) argument
569 c.setStrokeColor(barStroke);
570 c.setFillColor(barFill1);
575 c.ellipse(cx - r, cy - r, 2 * r, 2 * r);
576 c.fillAndStroke();
581 c.ellipse(cx - r, cy - r, 2 * r, 2 * r);
582 c.fillAndStroke();
587 c.ellipse(cx - r, cy - r, 2 * r, 2 * r);
588 c.fillAndStroke();
590 c.setFillColor(barFill2);
594 c.ellipse(cx - r, cy - r, 2 * r, 2 * r);
595 c.fillAndStroke();
600 c.ellipse(cx - r, cy - r, 2 * r, 2 * r);
601 c.fillAndStroke();
606 c.ellipse(cx - r, cy - r, 2 * r, 2 * r);
607 c.fillAndStroke();
609 c.setStrokeWidth(strokeWidth * 2);
610 c.setStrokeColor(coordStroke);
612 c.setShadow(false);
613 c.begin();
614 c.moveTo(0,0);
615 c.lineTo(0, h);
616 c.lineTo(w, h);
617 c.stroke();
664 mxShapeMockupGauge.prototype.paintVertexShape = function(c, x, y, w, h) argument
666 c.translate(x, y);
667 this.background(c, w, h);
668 c.setShadow(false);
669 this.foreground(c, w, h);
672 mxShapeMockupGauge.prototype.background = function(c, w, h) argument
674 c.ellipse(0, 0, w, h);
675 c.fillAndStroke();
678 mxShapeMockupGauge.prototype.foreground = function(c, w, h) argument
691 c.setFillColor(scaleColors[1]);
692 c.begin();
693 c.moveTo(w * 0.05, h * 0.5);
694 c.arcTo(w * 0.4, h * 0.4, 0, 0, 1, w * 0.95, h * 0.5);
695 c.lineTo(w, h * 0.5);
696 c.arcTo(w * 0.5, h * 0.5, 0, 0, 0, 0, h * 0.5);
697 c.close();
698 c.fill();
700 c.setFillColor(scaleColors[0]);
701 c.begin();
702 c.moveTo(w * 0.05, h * 0.5);
703 c.arcTo(w * 0.45, h * 0.45, 0, 0, 0, w * 0.182, h * 0.818);
704 c.lineTo(w * 0.146, h * 0.854);
705 c.arcTo(w * 0.5, h * 0.5, 0, 0, 1, 0, h * 0.5);
706 c.close();
707 c.fill();
709 c.setFillColor(scaleColors[2]);
710 c.begin();
711 c.moveTo(w, h * 0.5);
712 c.arcTo(w * 0.5, h * 0.5, 0, 0, 1, w * 0.854, h * 0.854);
713 c.lineTo(w * 0.818, h * 0.818);
714 c.arcTo(w * 0.45, h * 0.45, 0, 0, 0, w * 0.95, h * 0.5);
715 c.close();
716 c.fill();
718 c.setFontSize(textSize);
719 c.setFontColor(textColor);
720 …c.text(w * 0.5, h * 0.3, 0, 0, gaugeLabels[0], mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE,…
721 …c.text(w * 0.2, h * 0.85, 0, 0, gaugeLabels[1], mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, …
722 …c.text(w * 0.8, h * 0.85, 0, 0, gaugeLabels[2], mxConstants.ALIGN_RIGHT, mxConstants.ALIGN_MIDDLE,…
730 c.setFillColor(needleColor);
731 c.begin();
732 c.moveTo(x1, y1);
736 c.lineTo(x1, y1);
740 c.arcTo(w * 0.05, h * 0.05, 0, 0, 1, x2, y2);
746 c.arcTo(w * 0.05, h * 0.05, 0, 0, 1, x2, y2);
747 c.close();
748 c.fill();
750 c.setFillColor(fillColor);
751 c.begin();
752 c.moveTo(w * 0.49, h * 0.49);
753 c.lineTo(w * 0.51, h * 0.49);
754 c.lineTo(w * 0.51, h * 0.51);
755 c.lineTo(w * 0.49, h * 0.51);
756 c.close();
757 c.fill();
759 c.begin();
760 c.ellipse(0, 0, w, h);
761 c.stroke();
763 c.begin();
764 c.moveTo(w * 0.146, h * 0.854);
765 c.lineTo(w * 0.219, h * 0.781);
766 c.moveTo(w * 0.854, h * 0.854);
767 c.lineTo(w * 0.781, h * 0.781);
768 c.stroke();
826 mxShapeMockupPlotChart.prototype.paintVertexShape = function(c, x, y, w, h) argument
828 c.translate(x, y);
830 this.background(c, x, y, w, h);
836 c.setShadow(false);
839 this.foreground(c, x, y, w, h);
842 mxShapeMockupPlotChart.prototype.background = function(c, x, y, w, h, bgColor, frameColor) argument
844 c.rect(0, 0, w, h);
845 c.fillAndStroke();
848 mxShapeMockupPlotChart.prototype.foreground = function(c, x, y, w, h) argument
857 c.setStrokeColor(shapeStroke);
858 c.setFillColor(shapesColors[0]);
862 c.begin();
863 c.moveTo(cx - shapeSize * 0.5, cy - shapeSize * 0.5);
864 c.lineTo(cx + shapeSize * 0.5, cy - shapeSize * 0.5);
865 c.lineTo(cx + shapeSize * 0.5, cy + shapeSize * 0.5);
866 c.lineTo(cx - shapeSize * 0.5, cy + shapeSize * 0.5);
867 c.close();
868 c.fillAndStroke();
872 c.begin();
873 c.moveTo(cx - shapeSize * 0.5, cy - shapeSize * 0.5);
874 c.lineTo(cx + shapeSize * 0.5, cy - shapeSize * 0.5);
875 c.lineTo(cx + shapeSize * 0.5, cy + shapeSize * 0.5);
876 c.lineTo(cx - shapeSize * 0.5, cy + shapeSize * 0.5);
877 c.close();
878 c.fillAndStroke();
882 c.begin();
883 c.moveTo(cx - shapeSize * 0.5, cy - shapeSize * 0.5);
884 c.lineTo(cx + shapeSize * 0.5, cy - shapeSize * 0.5);
885 c.lineTo(cx + shapeSize * 0.5, cy + shapeSize * 0.5);
886 c.lineTo(cx - shapeSize * 0.5, cy + shapeSize * 0.5);
887 c.close();
888 c.fillAndStroke();
892 c.begin();
893 c.moveTo(cx - shapeSize * 0.5, cy - shapeSize * 0.5);
894 c.lineTo(cx + shapeSize * 0.5, cy - shapeSize * 0.5);
895 c.lineTo(cx + shapeSize * 0.5, cy + shapeSize * 0.5);
896 c.lineTo(cx - shapeSize * 0.5, cy + shapeSize * 0.5);
897 c.close();
898 c.fillAndStroke();
900 c.setFillColor(shapesColors[1]);
903 c.begin();
904 c.moveTo(cx, cy - shapeSize * 0.5);
905 c.lineTo(cx + shapeSize * 0.5, cy + shapeSize * 0.5);
906 c.lineTo(cx - shapeSize * 0.5, cy + shapeSize * 0.5);
907 c.close();
908 c.fillAndStroke();
912 c.begin();
913 c.moveTo(cx, cy - shapeSize * 0.5);
914 c.lineTo(cx + shapeSize * 0.5, cy + shapeSize * 0.5);
915 c.lineTo(cx - shapeSize * 0.5, cy + shapeSize * 0.5);
916 c.close();
917 c.fillAndStroke();
921 c.begin();
922 c.moveTo(cx, cy - shapeSize * 0.5);
923 c.lineTo(cx + shapeSize * 0.5, cy + shapeSize * 0.5);
924 c.lineTo(cx - shapeSize * 0.5, cy + shapeSize * 0.5);
925 c.close();
926 c.fillAndStroke();
928 c.setFillColor(shapesColors[2]);
931 c.begin();
932 c.moveTo(cx, cy - shapeSize * 0.75);
933 c.lineTo(cx + shapeSize * 0.75, cy);
934 c.lineTo(cx, cy + shapeSize * 0.75);
935 c.lineTo(cx - shapeSize * 0.75, cy);
936 c.close();
937 c.fillAndStroke();
941 c.begin();
942 c.moveTo(cx, cy - shapeSize * 0.75);
943 c.lineTo(cx + shapeSize * 0.75, cy);
944 c.lineTo(cx, cy + shapeSize * 0.75);
945 c.lineTo(cx - shapeSize * 0.75, cy);
946 c.close();
947 c.fillAndStroke();
951 c.begin();
952 c.moveTo(cx, cy - shapeSize * 0.75);
953 c.lineTo(cx + shapeSize * 0.75, cy);
954 c.lineTo(cx, cy + shapeSize * 0.75);
955 c.lineTo(cx - shapeSize * 0.75, cy);
956 c.close();
957 c.fillAndStroke();
961 c.begin();
962 c.moveTo(cx, cy - shapeSize * 0.75);
963 c.lineTo(cx + shapeSize * 0.75, cy);
964 c.lineTo(cx, cy + shapeSize * 0.75);
965 c.lineTo(cx - shapeSize * 0.75, cy);
966 c.close();
967 c.fillAndStroke();
969 c.setStrokeWidth(strokeWidth * 2);
970 c.setStrokeColor(coordStroke);
972 c.setShadow(false);
973 c.begin();
974 c.moveTo(0,0);
975 c.lineTo(0, h);
976 c.lineTo(w, h);
977 c.stroke();
1016 mxShapeMockupGanttChart.prototype.paintVertexShape = function(c, x, y, w, h) argument
1018 c.translate(x, y);
1019 this.background(c, x, y, w, h);
1020 c.setShadow(false);
1021 this.foreground(c, x, y, w, h);
1024 mxShapeMockupGanttChart.prototype.background = function(c, x, y, w, h, bgColor, frameColor) argument
1026 c.rect(0, 0, w, h);
1027 c.fillAndStroke();
1030 mxShapeMockupGanttChart.prototype.foreground = function(c, x, y, w, h) argument
1036 c.begin();
1037 c.moveTo(0, h * 0.13);
1038 c.lineTo(w, h * 0.13);
1039 c.moveTo(w * 0.4, 0);
1040 c.lineTo(w * 0.4, h);
1041 c.moveTo(w * 0.4, h * 0.065);
1042 c.lineTo(w, h * 0.065);
1043 c.moveTo(w * 0.03, 0);
1044 c.lineTo(w * 0.03, h * 0.13);
1045 c.moveTo(w * 0.1, 0);
1046 c.lineTo(w * 0.1, h * 0.13);
1047 c.moveTo(w * 0.315, 0);
1048 c.lineTo(w * 0.315, h * 0.13);
1049 c.moveTo(w * 0.45, h * 0.065);
1050 c.lineTo(w * 0.45, h * 0.13);
1051 c.moveTo(w * 0.5, h * 0.065);
1052 c.lineTo(w * 0.5, h);
1053 c.moveTo(w * 0.55, h * 0.065);
1054 c.lineTo(w * 0.55, h * 0.13);
1055 c.moveTo(w * 0.6, h * 0.065);
1056 c.lineTo(w * 0.6, h);
1057 c.moveTo(w * 0.65, h * 0.065);
1058 c.lineTo(w * 0.65, h * 0.13);
1059 c.moveTo(w * 0.7, h * 0.065);
1060 c.lineTo(w * 0.7, h);
1061 c.moveTo(w * 0.75, 0);
1062 c.lineTo(w * 0.75, h * 0.13);
1063 c.moveTo(w * 0.8, h * 0.065);
1064 c.lineTo(w * 0.8, h);
1065 c.moveTo(w * 0.85, h * 0.065);
1066 c.lineTo(w * 0.85, h * 0.13);
1067 c.moveTo(w * 0.9, h * 0.065);
1068 c.lineTo(w * 0.9, h);
1069 c.moveTo(w * 0.95, h * 0.065);
1070 c.lineTo(w * 0.95, h * 0.13);
1071 c.stroke();
1073 c.setFillColor(shapesColors[0]);
1074 c.begin();
1075 c.moveTo(w * 0.41, h * 0.15);
1076 c.lineTo(w * 0.64, h * 0.15);
1077 c.lineTo(w * 0.64, h * 0.18);
1078 c.lineTo(w * 0.625, h * 0.21);
1079 c.lineTo(w * 0.61, h * 0.18);
1080 c.lineTo(w * 0.44, h * 0.18);
1081 c.lineTo(w * 0.425, h * 0.21);
1082 c.lineTo(w * 0.41, h * 0.18);
1083 c.close();
1084 c.moveTo(w * 0.41, h * 0.24);
1085 c.lineTo(w * 0.49, h * 0.24);
1086 c.lineTo(w * 0.49, h * 0.275);
1087 c.lineTo(w * 0.41, h * 0.275);
1088 c.close();
1089 c.moveTo(w * 0.46, h * 0.31);
1090 c.lineTo(w * 0.64, h * 0.31);
1091 c.lineTo(w * 0.64, h * 0.345);
1092 c.lineTo(w * 0.46, h * 0.345);
1093 c.close();
1094 c.moveTo(w * 0.56, h * 0.39);
1095 c.lineTo(w * 0.69, h * 0.39);
1096 c.lineTo(w * 0.69, h * 0.425);
1097 c.lineTo(w * 0.56, h * 0.425);
1098 c.close();
1099 c.fill();
1101 c.setFillColor(shapesColors[1]);
1102 c.begin();
1103 c.moveTo(w * 0.46, h * 0.32);
1104 c.lineTo(w * 0.58, h * 0.32);
1105 c.lineTo(w * 0.58, h * 0.335);
1106 c.lineTo(w * 0.46, h * 0.335);
1107 c.close();
1108 c.fill();
1142 mxShapeMockupSimpleIcon.prototype.paintVertexShape = function(c, x, y, w, h) argument
1144 c.translate(x, y);
1146 c.rect(0, 0, w, h);
1147 c.fillAndStroke();
1149 c.begin();
1150 c.moveTo(0, 0);
1151 c.lineTo(w, h);
1152 c.moveTo(0, h);
1153 c.lineTo(w, 0);
1154 c.stroke();
1185 mxShapeMockupGraphicsAnchor.prototype.paintVertexShape = function(c, x, y, w, h) argument
1225 mxShapeMockupGraphicsRRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
1227 c.translate(x, y);
1230 c.roundrect(0, 0, w, h, rSize);
1231 c.fillAndStroke();