Lines Matching refs:h

60 mxRackContainer.prototype.paintVertexShape = function(c, x, y, w, h)  argument
78 this.background(c, w, h, fontSize);
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);
95 mxRackContainer.prototype.foreground = function(c, w, h, fontSize) argument
97 if (w > 18 + fontSize * 2 && h > 42)
101 c.rect(0, h - 21, w, 21);
103 c.rect(0, 21, 9, h - 42);
105 c.rect(w - 9, 21, 9, h - 42);
111 c.ellipse(2.5, h - 13.5, 6, 6);
113 c.ellipse(w - 8.5, h - 13.5, 6, 6);
118 mxRackContainer.prototype.sideText = function(c, w, h, fontSize) argument
129 var units = Math.floor((Math.abs(h) - 42) / unitSize);
175 mxRackPlate.prototype.paintVertexShape = function(c, x, y, w, h) argument
178 this.background(c, w, h);
180 this.foreground(c, w, h);
183 mxRackPlate.prototype.background = function(c, w, h) argument
186 c.rect(0, 0, w, h);
190 mxRackPlate.prototype.foreground = function(c, w, h) argument
199 c.rect(0,0, bufferSize, h);
201 c.rect(w - bufferSize,0, bufferSize, h);
204 c.rect(0, 0, w, h);
206 c.rect(bufferSize, 0, w - bufferSize * 2, h);
241 mxRackHorCableDuct.prototype.paintVertexShape = function(c, x, y, w, h) argument
244 this.background(c, w, h);
246 this.foreground(c, w, h);
249 mxRackHorCableDuct.prototype.background = function(c, w, h) argument
251 c.rect(0, 0, w, h);
255 mxRackHorCableDuct.prototype.foreground = function(c, w, h) argument
301 mxRackHorRoutingBank.prototype.paintVertexShape = function(c, x, y, w, h) argument
304 this.background(c, w, h);
306 this.foreground(c, w, h);
309 mxRackHorRoutingBank.prototype.background = function(c, w, h) argument
311 c.rect(0, 0, w, h);
315 mxRackHorRoutingBank.prototype.foreground = function(c, w, h) argument
322 var unitsDown = Math.floor(h / mxRackContainer.unitSize);
365 mxRackNeatPatch.prototype.paintVertexShape = function(c, x, y, w, h) argument
368 this.background(c, w, h);
370 this.mainText(c, w, h);
373 mxRackNeatPatch.prototype.background = function(c, w, h) argument
376 c.rect(0, 0, w, h);
380 mxRackNeatPatch.prototype.mainText = function(c, w, h) argument
385 …c.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
415 this.background(c, w, h);
418 mxRackShelf.prototype.background = function(c, w, h) argument
423 c.lineTo(1, h - 1);
424 c.lineTo(w - 1, h - 1);
460 mxRackRackNumbering.prototype.paintVertexShape = function(c, x, y, w, h) argument
467 var h = unitNum * unitH;
468 this.background(c, w, h, fontSize);
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);
479 mxRackRackNumbering.prototype.sideText = function(c, w, h, unitNum, unitH, fontSize) argument
497 …c.text(fontSize, h - unitH * 0.5 - i * unitH, 0, 0, (i + 1).toString(), mxConstants.ALIGN_CENTER, …
554 mxRackRackCabinet.prototype.paintVertexShape = function(c, x, y, w, h) argument
570 var h = unitNum * unitH + 42;
571 this.background(c, w, h, fontSize);
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
584 c.rect(0, 0, 180, h);
588 mxRackRackCabinet.prototype.foreground = function(c, w, h, fontSize) argument
593 c.rect(0, h - 21, 180, 21);
595 c.rect(0, 21, 9, h - 42);
597 c.rect(171, 21, 9, h - 42);
603 c.ellipse(2.5, h - 13.5, 6, 6);
605 c.ellipse(171.5, h - 13.5, 6, 6);
609 mxRackRackCabinet.prototype.sideText = function(c, w, h, unitNum, unitH, fontSize) argument
627 …c.text(-fontSize, h - 21 - unitH * 0.5 - i * unitH, 0, 0, (i + 1).toString(), mxConstants.ALIGN_CE…
674 mxRackHorCableDuct1U.prototype.paintVertexShape = function(c, x, y, w, h) argument
677 this.background(c, w, h);
679 this.foreground(c, w, h);
682 mxRackHorCableDuct1U.prototype.background = function(c, w, h) argument
688 mxRackHorCableDuct1U.prototype.foreground = function(c, w, h) argument
746 mxRackHorCableDuct2U.prototype.paintVertexShape = function(c, x, y, w, h) argument
749 this.background(c, w, h);
751 this.foreground(c, w, h);
754 mxRackHorCableDuct2U.prototype.background = function(c, w, h) argument
760 mxRackHorCableDuct2U.prototype.foreground = function(c, w, h) argument
818 mxRackHorRoutingBank1U.prototype.paintVertexShape = function(c, x, y, w, h) argument
821 this.background(c, w, h);
823 this.foreground(c, w, h);
826 mxRackHorRoutingBank1U.prototype.background = function(c, w, h) argument
832 mxRackHorRoutingBank1U.prototype.foreground = function(c, w, h) argument
880 mxRackHorRoutingBank2U.prototype.paintVertexShape = function(c, x, y, w, h) argument
883 this.background(c, w, h);
885 this.foreground(c, w, h);
888 mxRackHorRoutingBank2U.prototype.background = function(c, w, h) argument
894 mxRackHorRoutingBank2U.prototype.foreground = function(c, w, h) argument
957 mxRackNeatPatch2U.prototype.paintVertexShape = function(c, x, y, w, h) argument
960 this.background(c, w, h);
962 this.mainText(c, w, h);
965 mxRackNeatPatch2U.prototype.background = function(c, w, h) argument
972 mxRackNeatPatch2U.prototype.mainText = function(c, w, h) argument
1010 mxRackShelf1U.prototype.paintVertexShape = function(c, x, y, w, h) argument
1013 this.background(c, w, h);
1016 mxRackShelf1U.prototype.background = function(c, w, h) argument
1057 mxRackShelf2U.prototype.paintVertexShape = function(c, x, y, w, h) argument
1060 this.background(c, w, h);
1063 mxRackShelf2U.prototype.background = function(c, w, h) argument
1104 mxRackShelf4U.prototype.paintVertexShape = function(c, x, y, w, h) argument
1107 this.background(c, w, h);
1110 mxRackShelf4U.prototype.background = function(c, w, h) argument
1156 mxRackChannelBase.prototype.paintVertexShape = function(c, x, y, w, h) argument
1159 h = Math.max(h, 20);
1162 this.background(c, w, h);
1164 this.foreground(c, w, h);
1167 mxRackChannelBase.prototype.background = function(c, w, h) argument
1169 c.rect(10, h - 15, 5, 15);
1171 c.rect(w - 15, h - 15, 5, 15);
1173 c.rect(0, 0, w, h - 5);
1177 mxRackChannelBase.prototype.foreground = function(c, w, h) argument
1180 c.rect(10, h - 15, 5, 15);
1182 c.rect(w - 15, h - 15, 5, 15);
1216 mxRackCabinetLeg.prototype.paintVertexShape = function(c, x, y, w, h) argument
1219 h = Math.max(h, 20);
1222 this.background(c, w, h);
1225 mxRackCabinetLeg.prototype.background = function(c, w, h) argument
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);
1240 c.lineTo(w, h);
1241 c.lineTo(0, h);