Lines Matching refs:w

60 mxRackContainer.prototype.paintVertexShape = function(c, x, y, w, h)  argument
70 w = Math.max(w - fontSize * 2, 0);
78 this.background(c, w, h, fontSize);
81 this.foreground(c, w, h, fontSize);
83 if (displayNumbers !== mxRackContainer.prototype.cst.OFF && w > 18 + fontSize * 2)
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)
99 c.rect(0, 0, w, 21);
101 c.rect(0, h - 21, w, 21);
105 c.rect(w - 9, 21, 9, h - 42);
109 c.ellipse(w - 8.5, 7.5, 6, 6);
113 c.ellipse(w - 8.5, h - 13.5, 6, 6);
118 mxRackContainer.prototype.sideText = function(c, w, h, fontSize) argument
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
194 if (w > bufferSize * 2)
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
260 var unitsAcross = Math.floor((w - spaceBuffer) / unitSpacing);
261 var buffer = spaceBuffer / 2 + Math.floor(((w - spaceBuffer) - unitsAcross * unitSpacing) / 2);
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
321 var unitsAcross = Math.floor((w - spaceBuffer - rectWidth) / unitSpacing);
328 …var buffer = (spaceBuffer + rectWidth) / 2 + Math.floor(((w - spaceBuffer - rectWidth) - unitsAcro…
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
424 c.lineTo(w - 1, h - 1);
425 c.lineTo(w - 1, 1);
460 mxRackRackNumbering.prototype.paintVertexShape = function(c, x, y, w, h) argument
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
479 mxRackRackNumbering.prototype.sideText = function(c, w, h, unitNum, unitH, fontSize) argument
554 mxRackRackCabinet.prototype.paintVertexShape = function(c, x, y, w, h) argument
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
588 mxRackRackCabinet.prototype.foreground = function(c, w, h, fontSize) argument
609 mxRackRackCabinet.prototype.sideText = function(c, w, h, unitNum, unitH, fontSize) argument
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
1158 w = Math.max(w, 20);
1162 this.background(c, w, h);
1164 this.foreground(c, w, h);
1167 mxRackChannelBase.prototype.background = function(c, w, h) argument
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
1182 c.rect(w - 15, h - 15, 5, 15);
1216 mxRackCabinetLeg.prototype.paintVertexShape = function(c, x, y, w, h) argument
1218 w = Math.max(w, 20);
1222 this.background(c, w, h);
1225 mxRackCabinetLeg.prototype.background = function(c, w, h) argument
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);