Lines Matching refs:c

40 mxFloorplanWall.prototype.paintVertexShape = function(c, x, y, w, h)  argument
42 c.translate(x, y);
43 this.background(c, x, y, w, h);
46 mxFloorplanWall.prototype.background = function(c, x, y, w, h) argument
49 c.rect(0, h * 0.5 - wallTh * 0.5, w, wallTh);
50 c.fillAndStroke();
89 mxFloorplanWallCorner.prototype.paintVertexShape = function(c, x, y, w, h) argument
91 c.translate(x, y);
92 this.background(c, x, y, w, h);
95 mxFloorplanWallCorner.prototype.background = function(c, x, y, w, h) argument
99 c.begin();
100 c.moveTo(0, h);
101 c.lineTo(0, 0);
102 c.lineTo(w, 0);
103 c.lineTo(w, wallTh);
104 c.lineTo(wallTh, wallTh);
105 c.lineTo(wallTh, h);
106 c.close();
107 c.fillAndStroke();
146 mxFloorplanWallU.prototype.paintVertexShape = function(c, x, y, w, h) argument
148 c.translate(x, y);
149 this.background(c, x, y, w, h);
152 mxFloorplanWallU.prototype.background = function(c, x, y, w, h) argument
156 c.begin();
157 c.moveTo(0, h);
158 c.lineTo(0, 0);
159 c.lineTo(w, 0);
160 c.lineTo(w, h);
161 c.lineTo(w - wallTh, h);
162 c.lineTo(w - wallTh, wallTh);
163 c.lineTo(wallTh, wallTh);
164 c.lineTo(wallTh, h);
165 c.close();
166 c.fillAndStroke();
205 mxFloorplanRoom.prototype.paintVertexShape = function(c, x, y, w, h) argument
207 c.translate(x, y);
208 this.background(c, x, y, w, h);
211 mxFloorplanRoom.prototype.background = function(c, x, y, w, h) argument
215 c.begin();
216 c.moveTo(0, h);
217 c.lineTo(0, 0);
218 c.lineTo(w, 0);
219 c.lineTo(w, h);
220 c.close();
221 c.moveTo(wallTh, wallTh);
222 c.lineTo(wallTh, h - wallTh);
223 c.lineTo(w - wallTh, h - wallTh);
224 c.lineTo(w - wallTh, wallTh);
225 c.close();
226 c.fillAndStroke();
265 mxFloorplanWindow.prototype.paintVertexShape = function(c, x, y, w, h) argument
267 c.translate(x, y);
268 this.background(c, x, y, w, h);
271 mxFloorplanWindow.prototype.background = function(c, x, y, w, h) argument
274 c.rect(0, h * 0.5 - wallTh * 0.5, w, wallTh);
275 c.fillAndStroke();
277 c.begin();
278 c.moveTo(0, h * 0.5);
279 c.lineTo(w, h * 0.5);
280 c.stroke();
318 mxFloorplanDimension.prototype.paintVertexShape = function(c, x, y, w, h) argument
320 c.translate(x, y);
321 this.background(c, x, y, w, h);
324 mxFloorplanDimension.prototype.background = function(c, x, y, w, h) argument
326 c.begin();
327 c.moveTo(0, 20);
328 c.lineTo(w, 20);
329 c.moveTo(10, 15);
330 c.lineTo(0, 20);
331 c.lineTo(10, 25);
332 c.moveTo(w - 10, 15);
333 c.lineTo(w, 20);
334 c.lineTo(w - 10, 25);
335 c.moveTo(0, 15);
336 c.lineTo(0, h);
337 c.moveTo(w, 15);
338 c.lineTo(w, h);
339 c.stroke();
373 mxFloorplanDimensionBottom.prototype.paintVertexShape = function(c, x, y, w, h) argument
375 c.translate(x, y);
376 this.background(c, x, y, w, h);
379 mxFloorplanDimensionBottom.prototype.background = function(c, x, y, w, h) argument
381 c.begin();
382 c.moveTo(0, h - 20);
383 c.lineTo(w, h - 20);
384 c.moveTo(10, h - 15);
385 c.lineTo(0, h - 20);
386 c.lineTo(10, h - 25);
387 c.moveTo(w - 10, h - 15);
388 c.lineTo(w, h - 20);
389 c.lineTo(w - 10, h - 25);
390 c.moveTo(0, h - 15);
391 c.lineTo(0, 0);
392 c.moveTo(w, h - 15);
393 c.lineTo(w, 0);
394 c.stroke();
428 mxFloorplanStairs.prototype.paintVertexShape = function(c, x, y, w, h) argument
430 c.translate(x, y);
432 this.background(c, x, y, minW, h);
435 mxFloorplanStairs.prototype.background = function(c, x, y, w, h) argument
437 c.rect(0, 0, w, h);
438 c.fillAndStroke();
441 c.setShadow(false);
443 c.begin();
447 c.moveTo(i, 0);
448 c.lineTo(i, h);
451 c.stroke();
453 c.begin();
454 c.moveTo(0, h * 0.5);
455 c.lineTo(w, h * 0.5);
456 c.moveTo(w - step, 0);
457 c.lineTo(w, h * 0.5);
458 c.lineTo(w - step, h);
459 c.stroke();
568 mxFloorplanStairsRest.prototype.paintVertexShape = function(c, x, y, w, h) argument
570 c.translate(x, y);
573 this.background(c, x, y, minW, h);
576 mxFloorplanStairsRest.prototype.background = function(c, x, y, w, h) argument
578 c.rect(0, 0, w, h);
579 c.fillAndStroke();
582 c.setShadow(false);
584 c.begin();
588 c.moveTo(i, 0);
589 c.lineTo(i, h);
592 c.stroke();
594 c.begin();
595 c.moveTo(0, h * 0.5);
596 c.lineTo(w, h * 0.5);
598 c.moveTo(w, 0);
599 c.lineTo(w - h * 0.5, h * 0.5);
600 c.lineTo(w, h);
602 c.moveTo(w - h * 0.5, 0);
603 c.lineTo(w - h * 0.5, h);
605 c.moveTo(0, h * 0.5);
606 c.lineTo(w, h * 0.5);
607 c.stroke();
641 mxFloorplanDoorLeft.prototype.paintVertexShape = function(c, x, y, w, h) argument
643 c.translate(x, y);
644 this.background(c, x, y, w, h);
647 mxFloorplanDoorLeft.prototype.background = function(c, x, y, w, h) argument
649 c.rect(0, 0, w, 5);
650 c.fillAndStroke();
652 c.begin();
653 c.moveTo(w, 5);
654 c.arcTo(w, w, 0, 0, 1, 0, 5 + w);
655 c.lineTo(0, 5);
656 c.stroke();
690 mxFloorplanDoorRight.prototype.paintVertexShape = function(c, x, y, w, h) argument
692 c.translate(x, y);
693 this.background(c, x, y, w, h);
696 mxFloorplanDoorRight.prototype.background = function(c, x, y, w, h) argument
698 c.rect(0, 0, w, 5);
699 c.fillAndStroke();
701 c.begin();
702 c.moveTo(0, 5);
703 c.arcTo(w, w, 0, 0, 0, w, 5 + w);
704 c.lineTo(w, 5);
705 c.stroke();
739 mxFloorplanDoorDouble.prototype.paintVertexShape = function(c, x, y, w, h) argument
741 c.translate(x, y);
742 this.background(c, x, y, w, h);
745 mxFloorplanDoorDouble.prototype.background = function(c, x, y, w, h) argument
748 c.rect(0, 0, w, 5);
749 c.fillAndStroke();
751 c.begin();
752 c.moveTo(halfW, 0);
753 c.lineTo(halfW, 5);
754 c.moveTo(halfW, 5);
755 c.arcTo(halfW, halfW, 0, 0, 1, 0, 5 + halfW);
756 c.lineTo(0, 5);
757 c.moveTo(halfW, 5);
758 c.arcTo(halfW, halfW, 0, 0, 0, w, 5 + halfW);
759 c.lineTo(w, 5);
760 c.stroke();
799 mxFloorplanDoorUneven.prototype.paintVertexShape = function(c, x, y, w, h) argument
801 c.translate(x, y);
802 this.background(c, x, y, w, h);
805 mxFloorplanDoorUneven.prototype.background = function(c, x, y, w, h) argument
809 c.rect(0, 0, w, 5);
810 c.fillAndStroke();
812 c.begin();
813 c.moveTo(dx, 0);
814 c.lineTo(dx, 5);
815 c.arcTo(dx, dx, 0, 0, 1, 0, 5 + dx);
816 c.lineTo(0, 5);
817 c.moveTo(dx, 5);
818 c.arcTo(w - dx, w - dx, 0, 0, 0, w, 5 + w - dx);
819 c.lineTo(w, 5);
820 c.stroke();
874 mxFloorplanDoorOpposing.prototype.paintVertexShape = function(c, x, y, w, h) argument
876 c.translate(x, y);
877 this.background(c, x, y, w, h);
880 mxFloorplanDoorOpposing.prototype.background = function(c, x, y, w, h) argument
884 c.rect(0, dx, w, 5);
885 c.fillAndStroke();
887 c.begin();
888 c.moveTo(dx, dx);
889 c.lineTo(dx, dx + 5);
890 c.arcTo(dx, dx, 0, 0, 0, 0, 0);
891 c.lineTo(0, dx);
892 c.moveTo(dx, dx + 5);
893 c.arcTo(w - dx, w - dx, 0, 0, 0, w, 5 + w);
894 c.lineTo(w, dx + 5);
895 c.stroke();
944 mxFloorplanDoorRevolving.prototype.paintVertexShape = function(c, x, y, w, h) argument
946 c.translate(x, y);
947 this.background(c, x, y, w, h);
950 mxFloorplanDoorRevolving.prototype.background = function(c, x, y, w, h) argument
953 c.rect((w - d) * 0.5 , h * 0.5 - 2.5, d, 5);
954 c.fillAndStroke();
956 c.rect(w * 0.5 - 2.5, (h - d) * 0.5, 5, d);
957 c.fillAndStroke();
959 c.begin();
960 c.ellipse((w - d) * 0.5, (h - d) * 0.5, d, d);
961 c.stroke();
1000 mxFloorplanDoorPocket.prototype.paintVertexShape = function(c, x, y, w, h) argument
1004 c.translate(x, y);
1006 c.rect(dx, h * 0.5 - 5, 5, 10);
1007 c.fillAndStroke();
1009 c.rect(w - 5, h * 0.5 - 5, 5, 10);
1010 c.fillAndStroke();
1012 c.rect(0, h * 0.5 - 2.5, w - dx, 5);
1013 c.fillAndStroke();
1067 mxFloorplanDoorDoublePocket.prototype.paintVertexShape = function(c, x, y, w, h) argument
1071 c.translate(x, y);
1073 c.rect(dx, h * 0.5 - 5, 5, 10);
1074 c.fillAndStroke();
1076 c.rect(w - dx - 5, h * 0.5 - 5, 5, 10);
1077 c.fillAndStroke();
1079 c.rect(0, h * 0.5 - 2.5, w * 0.5 - dx, 5);
1080 c.fillAndStroke();
1082 c.rect(w * 0.5 + dx, h * 0.5 - 2.5, w * 0.5 - dx, 5);
1083 c.fillAndStroke();
1137 mxFloorplanDoorBypass.prototype.paintVertexShape = function(c, x, y, w, h) argument
1141 c.translate(x, y);
1143 c.rect(0, h * 0.5 - 5, 5, 10);
1144 c.fillAndStroke();
1146 c.rect(w - 5, h * 0.5 - 5, 5, 10);
1147 c.fillAndStroke();
1149 c.rect(0, h * 0.5, w * 0.5, 5);
1150 c.fillAndStroke();
1152 c.rect(dx, h * 0.5 - 5, w * 0.5, 5);
1153 c.fillAndStroke();
1207 mxFloorplanDoorBifold.prototype.paintVertexShape = function(c, x, y, w, h) argument
1212 c.translate(x, y);
1214 c.rect(0, h - 10, 5, 10);
1215 c.fillAndStroke();
1217 c.rect(w - 5, h - 10, 5, 10);
1218 c.fillAndStroke();
1220 c.setStrokeWidth(strokeWidth * 3);
1222 c.begin();
1223 c.moveTo(5, h - 10);
1224 c.lineTo(Math.max((dx - 10) * 0.5 + 5, 5), 0);
1225 c.lineTo(Math.max(dx, 5), h - 10);
1226 c.moveTo(w - 5, h - 10);
1227 c.lineTo(w - Math.max((dx - 10) * 0.5 + 5, 5), 0);
1228 c.lineTo(w - Math.max(dx, 5), h - 10);
1229 c.stroke();
1283 mxFloorplanDoorSlidingGlass.prototype.paintVertexShape = function(c, x, y, w, h) argument
1287 c.translate(x, y);
1289 c.rect(0, h * 0.5 - 5, 5, 10);
1290 c.fillAndStroke();
1292 c.rect(w - 5, h * 0.5 - 5, 5, 10);
1293 c.fillAndStroke();
1295 c.rect(0, h * 0.5, w * 0.5, 2);
1296 c.fillAndStroke();
1298 c.rect(dx, h * 0.5 - 2, w * 0.5, 2);
1299 c.fillAndStroke();
1349 mxFloorplanOverhead.prototype.paintVertexShape = function(c, x, y, w, h) argument
1351 c.translate(x, y);
1353 c.rect(0, h - 10, 5, 10);
1354 c.fillAndStroke();
1356 c.rect(w - 5, h - 10, 5, 10);
1357 c.fillAndStroke();
1359 c.rect(5, 0, w - 10, h - 5);
1360 c.fillAndStroke();
1396 mxFloorplanOpening.prototype.paintVertexShape = function(c, x, y, w, h) argument
1398 c.translate(x, y);
1400 c.rect(0, 0, 5, h);
1401 c.fillAndStroke();
1403 c.rect(w - 5, 0, 5, h);
1404 c.fillAndStroke();
1444 mxFloorplanWindowGlider.prototype.paintVertexShape = function(c, x, y, w, h) argument
1448 c.translate(x, y);
1450 c.rect(0, h * 0.5 - 5, w, 10);
1451 c.fillAndStroke();
1453 c.rect(0, h * 0.5, w * 0.5, 1);
1454 c.fillAndStroke();
1456 c.rect(dx, h * 0.5 - 1, w * 0.5, 1);
1457 c.fillAndStroke();
1511 mxFloorplanWindowGarden.prototype.paintVertexShape = function(c, x, y, w, h) argument
1517 c.translate(x, y);
1519 c.rect(0, h - 10, 5, 10);
1520 c.fillAndStroke();
1521 c.rect(w - 5, h - 10, 5, 10);
1522 c.fillAndStroke();
1524 c.begin();
1525 c.moveTo(5, h);
1526 c.lineTo(5, 0);
1527 c.lineTo(w - 5, 0);
1528 c.lineTo(w - 5, h);
1529 c.lineTo(w - 5 - d, h);
1530 c.lineTo(w - 5 - d, d);
1534 c.lineTo(w - 5 - d - i * paneW - (i - 1) * d, d);
1535 c.lineTo(w - 5 - d - i * paneW - (i - 1) * d, h);
1536 c.lineTo(w - 5 - 2 * d - (i - 1) * d - i * paneW, h);
1537 c.lineTo(w - 5 - 2 * d - (i - 1) * d - i * paneW, d);
1540 c.lineTo(5 + d, d);
1541 c.lineTo(5 + d, h);
1542 c.close();
1543 c.fillAndStroke();
1578 mxFloorplanWindowBow.prototype.paintVertexShape = function(c, x, y, w, h) argument
1580 c.translate(x, y);
1584 c.begin();
1585 c.moveTo(0, (h - d) * 0.5);
1586 c.lineTo(d, (h + d) * 0.5);
1587 c.lineTo(w - d, (h + d) * 0.5);
1588 c.lineTo(w, (h - d) * 0.5);
1589 c.stroke();
1624 mxFloorplanWindowBay.prototype.paintVertexShape = function(c, x, y, w, h) argument
1626 c.translate(x, y);
1630 c.begin();
1631 c.moveTo(0, 0);
1632 c.lineTo(w * 0.15, h * 0.6);
1633 c.lineTo(w * 0.35, h);
1634 c.lineTo(w * 0.65, h);
1635 c.lineTo(w * 0.85, h * 0.6);
1636 c.lineTo(w, 0);
1637 c.stroke();
1676 mxFloorplanDoorAccordion.prototype.paintVertexShape = function(c, x, y, w, h) argument
1684 c.translate(x, y);
1686 c.rect(0, h * 0.5 - 5, 5, 10);
1687 c.fillAndStroke();
1689 c.rect(w - 5, h * 0.5 - 5, 5, 10);
1690 c.fillAndStroke();
1692 c.setStrokeWidth(strokeWidth * 3);
1696 c.begin();
1697 c.moveTo(5, h * 0.5);
1698 c.lineTo(5 + l * 0.1, 0);
1699 c.lineTo(5 + l * 0.3, h);
1700 c.lineTo(5 + l * 0.5, 0);
1701 c.lineTo(5 + l * 0.7, h);
1702 c.lineTo(5 + l * 0.9, 0);
1703 c.lineTo(5 + l, h * 0.5);
1704 c.stroke();
1753 mxFloorplanDoorDoubleAction.prototype.paintVertexShape = function(c, x, y, w, h) argument
1755 c.translate(x, y);
1756 this.background(c, x, y, w, h);
1759 mxFloorplanDoorDoubleAction.prototype.background = function(c, x, y, w, h) argument
1761 c.rect(0, h * 0.5 - 2.5, w, 5);
1762 c.fillAndStroke();
1764 c.begin();
1765 c.moveTo(w, h * 0.5 + 2.5);
1766 c.arcTo(w, w, 0, 0, 1, 0, h * 0.5 + 2.5 + w);
1767 c.lineTo(0, h * 0.5 + 2.5);
1768 c.stroke();
1770 c.setDashed(true);
1772 c.begin();
1773 c.moveTo(w, h * 0.5 - 2.5);
1774 c.arcTo(w, w, 0, 0, 0, 0, h * 0.5 - 2.5 - w);
1775 c.lineTo(0, h * 0.5 - 2.5);
1776 c.stroke();