Lines Matching refs:c

60 mxRackContainer.prototype.paintVertexShape = function(c, x, y, w, h)  argument
69 c.translate(x + fontSize * 2, y);
74 c.translate(x, y);
77 c.setFillColor(fillColor);
78 this.background(c, w, h, fontSize);
79 c.setShadow(false);
80 c.setFillColor(fillColor2);
81 this.foreground(c, w, h, fontSize);
85 this.sideText(c, w, h, fontSize);
89 mxRackContainer.prototype.background = function(c, w, h, fontSize) argument
91 c.rect(0, 0, w, h);
92 c.fillAndStroke();
95 mxRackContainer.prototype.foreground = function(c, w, h, fontSize) argument
99 c.rect(0, 0, w, 21);
100 c.fillAndStroke();
101 c.rect(0, h - 21, w, 21);
102 c.fillAndStroke();
103 c.rect(0, 21, 9, h - 42);
104 c.fillAndStroke();
105 c.rect(w - 9, 21, 9, h - 42);
106 c.fillAndStroke();
107 c.ellipse(2.5, 7.5, 6, 6);
108 c.stroke();
109 c.ellipse(w - 8.5, 7.5, 6, 6);
110 c.stroke();
111 c.ellipse(2.5, h - 13.5, 6, 6);
112 c.stroke();
113 c.ellipse(w - 8.5, h - 13.5, 6, 6);
114 c.stroke();
118 mxRackContainer.prototype.sideText = function(c, w, h, fontSize) argument
125 c.setFontSize(fontSize);
126 c.setFontColor(fontColor);
134c.text(-fontSize, 21 + unitSize * 0.5 + i * unitSize, 0, 0, displayNumber, mxConstants.ALIGN_CENTE…
137 c.begin();
141 c.moveTo(-2 * fontSize, 21 + i * unitSize);
142 c.lineTo(0, 21 + i * unitSize);
145 c.stroke();
175 mxRackPlate.prototype.paintVertexShape = function(c, x, y, w, h) argument
177 c.translate(x, y);
178 this.background(c, w, h);
179 c.setShadow(false);
180 this.foreground(c, w, h);
183 mxRackPlate.prototype.background = function(c, w, h) argument
185 c.begin();
186 c.rect(0, 0, w, h);
187 c.fillAndStroke();
190 mxRackPlate.prototype.foreground = function(c, w, h) argument
196 c.save();
197 c.setFillColor('#000000');
198 c.setAlpha(0.23);
199 c.rect(0,0, bufferSize, h);
200 c.fill();
201 c.rect(w - bufferSize,0, bufferSize, h);
202 c.fill();
203 c.restore();
204 c.rect(0, 0, w, h);
205 c.stroke();
206 c.rect(bufferSize, 0, w - bufferSize * 2, h);
207 c.stroke();
241 mxRackHorCableDuct.prototype.paintVertexShape = function(c, x, y, w, h) argument
243 c.translate(x, y);
244 this.background(c, w, h);
245 c.setShadow(false);
246 this.foreground(c, w, h);
249 mxRackHorCableDuct.prototype.background = function(c, w, h) argument
251 c.rect(0, 0, w, h);
252 c.fillAndStroke();
255 mxRackHorCableDuct.prototype.foreground = function(c, w, h) argument
267 c.rect(buffer, 0, 3, 7);
268 c.stroke();
269 c.rect(buffer, 7, 3, 7.8);
270 c.stroke();
301 mxRackHorRoutingBank.prototype.paintVertexShape = function(c, x, y, w, h) argument
303 c.translate(x, y);
304 this.background(c, w, h);
305 c.setShadow(false);
306 this.foreground(c, w, h);
309 mxRackHorRoutingBank.prototype.background = function(c, w, h) argument
311 c.rect(0, 0, w, h);
312 c.fillAndStroke();
315 mxRackHorRoutingBank.prototype.foreground = function(c, w, h) argument
332 c.rect(buffer, 4 + (i * mxRackContainer.unitSize), rectWidth, 6.8);
333 c.stroke();
365 mxRackNeatPatch.prototype.paintVertexShape = function(c, x, y, w, h) argument
367 c.translate(x, y);
368 this.background(c, w, h);
369 c.setShadow(false);
370 this.mainText(c, w, h);
373 mxRackNeatPatch.prototype.background = function(c, w, h) argument
375 c.setFillColor('#666666');
376 c.rect(0, 0, w, h);
377 c.fillAndStroke();
380 mxRackNeatPatch.prototype.mainText = function(c, w, h) argument
382 c.setFontSize('12');
383 c.setFontColor('#ffffff');
384 c.setFontStyle(mxConstants.FONT_BOLD);
385c.text(w / 2, h - 6, 0, 0, 'NEAT-PATCH', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, nu…
412 mxRackShelf.prototype.paintVertexShape = function(c, x, y, w, h) argument
414 c.translate(x, y);
415 this.background(c, w, h);
418 mxRackShelf.prototype.background = function(c, w, h) argument
420 c.setStrokeWidth(2);
421 c.begin();
422 c.moveTo(1, 0);
423 c.lineTo(1, h - 1);
424 c.lineTo(w - 1, h - 1);
425 c.lineTo(w - 1, 1);
426 c.fillAndStroke();
460 mxRackRackNumbering.prototype.paintVertexShape = function(c, x, y, w, h) argument
465 c.translate(x, y);
468 this.background(c, w, h, fontSize);
469 c.setShadow(false);
470 this.sideText(c, w, h, unitNum, unitH, fontSize);
473 mxRackRackNumbering.prototype.background = function(c, w, h, fontSize) argument
475 c.rect(fontSize * 3, 0, 160.9, h);
476 c.fillAndStroke();
479 mxRackRackNumbering.prototype.sideText = function(c, w, h, unitNum, unitH, fontSize) argument
483 c.setFontSize(fontSize);
484 c.setFontColor(fontColor);
490c.text(fontSize, unitH * 0.5 + i * unitH, 0, 0, (i + 1).toString(), mxConstants.ALIGN_CENTER, mxCo…
497c.text(fontSize, h - unitH * 0.5 - i * unitH, 0, 0, (i + 1).toString(), mxConstants.ALIGN_CENTER, …
501 c.setStrokeColor('#dddddd');
503 c.begin();
507 c.moveTo(0, i * unitH);
508 c.lineTo(fontSize * 3, i * unitH);
511 c.stroke();
554 mxRackRackCabinet.prototype.paintVertexShape = function(c, x, y, w, h) argument
563 c.translate(x + fontSize * 2, y);
567 c.translate(x, y);
571 this.background(c, w, h, fontSize);
572 c.setShadow(false);
573 this.foreground(c, w, h, fontSize);
577 this.sideText(c, w, h, unitNum, unitH, fontSize);
581 mxRackRackCabinet.prototype.background = function(c, w, h, fontSize) argument
583 c.setFillColor('#ffffff');
584 c.rect(0, 0, 180, h);
585 c.fillAndStroke();
588 mxRackRackCabinet.prototype.foreground = function(c, w, h, fontSize) argument
590 c.setFillColor('#f4f4f4');
591 c.rect(0, 0, 180, 21);
592 c.fillAndStroke();
593 c.rect(0, h - 21, 180, 21);
594 c.fillAndStroke();
595 c.rect(0, 21, 9, h - 42);
596 c.fillAndStroke();
597 c.rect(171, 21, 9, h - 42);
598 c.fillAndStroke();
599 c.ellipse(2.5, 7.5, 6, 6);
600 c.stroke();
601 c.ellipse(171.5, 7.5, 6, 6);
602 c.stroke();
603 c.ellipse(2.5, h - 13.5, 6, 6);
604 c.stroke();
605 c.ellipse(171.5, h - 13.5, 6, 6);
606 c.stroke();
609 mxRackRackCabinet.prototype.sideText = function(c, w, h, unitNum, unitH, fontSize) argument
613 c.setFontSize(fontSize);
614 c.setFontColor(fontColor);
620c.text(-fontSize, 21 + unitH * 0.5 + i * unitH, 0, 0, (i + 1).toString(), mxConstants.ALIGN_CENTER…
627c.text(-fontSize, h - 21 - unitH * 0.5 - i * unitH, 0, 0, (i + 1).toString(), mxConstants.ALIGN_CE…
631 c.setStrokeColor('#dddddd');
633 c.begin();
637 c.moveTo(-2 * fontSize, 21 + i * unitH);
638 c.lineTo(0, 21 + i * unitH);
641 c.stroke();
674 mxRackHorCableDuct1U.prototype.paintVertexShape = function(c, x, y, w, h) argument
676 c.translate(x, y);
677 this.background(c, w, h);
678 c.setShadow(false);
679 this.foreground(c, w, h);
682 mxRackHorCableDuct1U.prototype.background = function(c, w, h) argument
684 c.rect(0, 0, 160.9, 14.8);
685 c.fillAndStroke();
688 mxRackHorCableDuct1U.prototype.foreground = function(c, w, h) argument
690 c.rect(12, 0, 3, 7);
691 c.stroke();
692 c.rect(12, 7, 3, 7.8);
693 c.stroke();
695 c.rect(45.5, 0, 3, 7);
696 c.stroke();
697 c.rect(45.5, 7, 3, 7.8);
698 c.stroke();
700 c.rect(79, 0, 3, 7);
701 c.stroke();
702 c.rect(79, 7, 3, 7.8);
703 c.stroke();
705 c.rect(112.5, 0, 3, 7);
706 c.stroke();
707 c.rect(112.5, 7, 3, 7.8);
708 c.stroke();
710 c.rect(146, 0, 3, 7);
711 c.stroke();
712 c.rect(146, 7, 3, 7.8);
713 c.stroke();
746 mxRackHorCableDuct2U.prototype.paintVertexShape = function(c, x, y, w, h) argument
748 c.translate(x, y);
749 this.background(c, w, h);
750 c.setShadow(false);
751 this.foreground(c, w, h);
754 mxRackHorCableDuct2U.prototype.background = function(c, w, h) argument
756 c.rect(0, 0, 160.9, 29.6);
757 c.fillAndStroke();
760 mxRackHorCableDuct2U.prototype.foreground = function(c, w, h) argument
762 c.rect(12, 0, 3, 7);
763 c.stroke();
764 c.rect(12, 7, 3, 22.6);
765 c.stroke();
767 c.rect(45.5, 0, 3, 7);
768 c.stroke();
769 c.rect(45.5, 7, 3, 22.6);
770 c.stroke();
772 c.rect(79, 0, 3, 7);
773 c.stroke();
774 c.rect(79, 7, 3, 22.6);
775 c.stroke();
777 c.rect(112.5, 0, 3, 7);
778 c.stroke();
779 c.rect(112.5, 7, 3, 22.6);
780 c.stroke();
782 c.rect(146, 0, 3, 7);
783 c.stroke();
784 c.rect(146, 7, 3, 22.6);
785 c.stroke();
818 mxRackHorRoutingBank1U.prototype.paintVertexShape = function(c, x, y, w, h) argument
820 c.translate(x, y);
821 this.background(c, w, h);
822 c.setShadow(false);
823 this.foreground(c, w, h);
826 mxRackHorRoutingBank1U.prototype.background = function(c, w, h) argument
828 c.rect(0, 0, 160.9, 14.8);
829 c.fillAndStroke();
832 mxRackHorRoutingBank1U.prototype.foreground = function(c, w, h) argument
834 c.rect(10, 4, 17, 6.8);
835 c.stroke();
836 c.rect(31, 4, 17, 6.8);
837 c.stroke();
838 c.rect(52, 4, 17, 6.8);
839 c.stroke();
840 c.rect(73, 4, 17, 6.8);
841 c.stroke();
842 c.rect(94, 4, 17, 6.8);
843 c.stroke();
844 c.rect(115, 4, 17, 6.8);
845 c.stroke();
846 c.rect(136, 4, 17, 6.8);
847 c.stroke();
880 mxRackHorRoutingBank2U.prototype.paintVertexShape = function(c, x, y, w, h) argument
882 c.translate(x, y);
883 this.background(c, w, h);
884 c.setShadow(false);
885 this.foreground(c, w, h);
888 mxRackHorRoutingBank2U.prototype.background = function(c, w, h) argument
890 c.rect(0, 0, 160.9, 29.6);
891 c.fillAndStroke();
894 mxRackHorRoutingBank2U.prototype.foreground = function(c, w, h) argument
896 c.rect(10, 4, 17, 6.8);
897 c.stroke();
898 c.rect(31, 4, 17, 6.8);
899 c.stroke();
900 c.rect(52, 4, 17, 6.8);
901 c.stroke();
902 c.rect(73, 4, 17, 6.8);
903 c.stroke();
904 c.rect(94, 4, 17, 6.8);
905 c.stroke();
906 c.rect(115, 4, 17, 6.8);
907 c.stroke();
908 c.rect(136, 4, 17, 6.8);
909 c.stroke();
911 c.rect(10, 18.8, 17, 6.8);
912 c.stroke();
913 c.rect(31, 18.8, 17, 6.8);
914 c.stroke();
915 c.rect(52, 18.8, 17, 6.8);
916 c.stroke();
917 c.rect(73, 18.8, 17, 6.8);
918 c.stroke();
919 c.rect(94, 18.8, 17, 6.8);
920 c.stroke();
921 c.rect(115, 18.8, 17, 6.8);
922 c.stroke();
923 c.rect(136, 18.8, 17, 6.8);
924 c.stroke();
957 mxRackNeatPatch2U.prototype.paintVertexShape = function(c, x, y, w, h) argument
959 c.translate(x, y);
960 this.background(c, w, h);
961 c.setShadow(false);
962 this.mainText(c, w, h);
965 mxRackNeatPatch2U.prototype.background = function(c, w, h) argument
967 c.setFillColor('#666666');
968 c.rect(0, 0, 160.9, 29.6);
969 c.fillAndStroke();
972 mxRackNeatPatch2U.prototype.mainText = function(c, w, h) argument
974 c.setFontSize('12');
975 c.setFontColor('#ffffff');
976 c.setFontStyle(mxConstants.FONT_BOLD);
977c.text(80.45, 24, 0, 0, 'NEAT-PATCH', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null,…
1010 mxRackShelf1U.prototype.paintVertexShape = function(c, x, y, w, h) argument
1012 c.translate(x, y);
1013 this.background(c, w, h);
1016 mxRackShelf1U.prototype.background = function(c, w, h) argument
1018 c.setStrokeWidth(2);
1019 c.begin();
1020 c.moveTo(0, 0);
1021 c.lineTo(0, 14.8);
1022 c.lineTo(160.9, 14.8);
1023 c.lineTo(160.9, 0);
1024 c.fillAndStroke();
1057 mxRackShelf2U.prototype.paintVertexShape = function(c, x, y, w, h) argument
1059 c.translate(x, y);
1060 this.background(c, w, h);
1063 mxRackShelf2U.prototype.background = function(c, w, h) argument
1065 c.setStrokeWidth(2);
1066 c.begin();
1067 c.moveTo(0, 0);
1068 c.lineTo(0, 29.6);
1069 c.lineTo(160.9, 29.6);
1070 c.lineTo(160.9, 0);
1071 c.fillAndStroke();
1104 mxRackShelf4U.prototype.paintVertexShape = function(c, x, y, w, h) argument
1106 c.translate(x, y);
1107 this.background(c, w, h);
1110 mxRackShelf4U.prototype.background = function(c, w, h) argument
1112 c.setStrokeWidth(2);
1113 c.begin();
1114 c.moveTo(0, 0);
1115 c.lineTo(0, 59.2);
1116 c.lineTo(160.9, 59.2);
1117 c.lineTo(160.9, 0);
1118 c.fillAndStroke();
1156 mxRackChannelBase.prototype.paintVertexShape = function(c, x, y, w, h) argument
1160 c.translate(x, y);
1162 this.background(c, w, h);
1163 c.setShadow(false);
1164 this.foreground(c, w, h);
1167 mxRackChannelBase.prototype.background = function(c, w, h) argument
1169 c.rect(10, h - 15, 5, 15);
1170 c.fillAndStroke();
1171 c.rect(w - 15, h - 15, 5, 15);
1172 c.fillAndStroke();
1173 c.rect(0, 0, w, h - 5);
1174 c.fillAndStroke();
1177 mxRackChannelBase.prototype.foreground = function(c, w, h) argument
1179 c.setFillColor('#000000');
1180 c.rect(10, h - 15, 5, 15);
1181 c.fillAndStroke();
1182 c.rect(w - 15, h - 15, 5, 15);
1183 c.fillAndStroke();
1216 mxRackCabinetLeg.prototype.paintVertexShape = function(c, x, y, w, h) argument
1220 c.translate(x, y);
1222 this.background(c, w, h);
1225 mxRackCabinetLeg.prototype.background = function(c, w, h) argument
1227 c.begin();
1228 c.moveTo(0, h - 10);
1229 c.lineTo(5, h - 10);
1230 c.lineTo(5, h - 12);
1231 c.lineTo(9, h - 12);
1232 c.lineTo(9, h - 10);
1233 c.lineTo(w - 10, h - 10);
1234 c.lineTo(w - 10, 9);
1235 c.lineTo(w - 12, 9);
1236 c.lineTo(w - 12, 5);
1237 c.lineTo(w - 10, 5);
1238 c.lineTo(w - 10, 0);
1239 c.lineTo(w, 0);
1240 c.lineTo(w, h);
1241 c.lineTo(0, h);
1242 c.close();
1243 c.fillAndStroke();