Lines Matching refs:h

115 mxShapePidValve.prototype.paintVertexShape = function(c, x, y, w, h)  argument
125 actH = h * 0.3333;
129 actH = h * 0.4;
136 this.background(c, x, y, w, h, valveType, actuator, actH);
138 this.foreground(c, x, y, w, h, valveType, actuator, actH);
141 mxShapePidValve.prototype.background = function(c, x, y, w, h, valveType, actuator, actH) argument
148 this.drawActuatorBg(c, x, y, w, h / 1.2, actuator, actH);
152 this.drawActuatorBg(c, x, y, w, h, actuator, actH);
159 this.drawGateVariantBg(c, 0, 0, w, h, valveType, actuator, actH);
163 this.drawAngleVariantBg(c, 0, 0, w, h, valveType, actuator, actH);
167 this.drawButterflyValve(c, 0, 0, w, h, actuator, actH);
171 this.drawCheckValve(c, 0, 0, w, h, actuator, actH);
175 mxShapePidValve.prototype.foreground = function(c, x, y, w, h, valveType, actuator, actH) argument
184 this.drawActuatorFg(c, x, y, w, h / 1.2, actuator, actH);
188 this.drawActuatorFg(c, x, y, w, h, actuator, actH);
194 this.drawGateVariantFg(c, 0, 0, w, h, valveType, actuator, actH);
198 this.drawAngleVariantFg(c, 0, 0, w, h, valveType, actuator, actH);
202 mxShapePidValve.prototype.drawActuatorBg = function(c, x, y, w, h, actuator) argument
207 this.drawSquareAct(c, w * 0.35, h * 0.7, actuator);
212 c.translate(w * 0.25, h * 0.15);
213 this.drawManAct(c, w * 0.5, h * 0.55);
214 c.translate(- w * 0.25, - h * 0.15);
218 c.translate(w * 0.25, h * 0.1);
219 this.drawDiaphAct(c, w * 0.5, h * 0.6);
220 c.translate(- w * 0.25, - h * 0.1);
224 c.translate(w * 0.25, h * 0.1);
225 this.drawBalDiaphActBg(c, w * 0.5, h * 0.6);
226 c.translate(- w * 0.25, - h * 0.1);
231 this.drawCircleAct(c, w * 0.35, h * 0.7, actuator);
237 this.drawSpringAct(c, w * 0.28, h * 0.7);
243 this.drawSolenoidManResetAct(c, w * 0.575, h * 0.7);
249 this.drawSingActingActBg(c, w * 0.65, h * 0.7);
255 this.drawDblActingActBg(c, w * 0.65, h * 0.7);
261 this.drawPilotCylinderActBg(c, w * 0.65, h * 0.7);
266 c.translate(w * 0.5, h * 0.2);
267 this.drawAngleBlowdownAct(c, w * 0.4, h * 0.5);
268 c.translate(- w * 0.5, - h * 0.2);
272 mxShapePidValve.prototype.drawActuatorFg = function(c, x, y, w, h, actuator) argument
276 c.translate(w * 0.25, h * 0.1);
277 this.drawBalDiaphActFg(c, w * 0.5, h * 0.6);
278 c.translate(- w * 0.25, - h * 0.1);
285 this.drawActingActFg(c, w * 0.65, h * 0.7);
290 mxShapePidValve.prototype.drawManAct = function(c, w, h) argument
296 c.lineTo(w * 0.5, h);
300 mxShapePidValve.prototype.drawDiaphAct = function(c, w, h) argument
303 c.moveTo(w * 0.5, h * 0.2);
304 c.lineTo(w * 0.5, h);
308 c.moveTo(0, h * 0.2);
309 c.arcTo(w * 0.6, h * 0.4, 0, 0, 1, w, h * 0.2);
314 mxShapePidValve.prototype.drawBalDiaphActBg = function(c, w, h) argument
316 c.ellipse(0, 0, w, h * 0.3);
320 c.moveTo(w * 0.5, h * 0.3);
321 c.lineTo(w * 0.5, h);
325 mxShapePidValve.prototype.drawBalDiaphActFg = function(c, w, h) argument
328 c.moveTo(0, h * 0.15);
329 c.lineTo(w, h * 0.15);
333 mxShapePidValve.prototype.drawCircleAct = function(c, w, h, actuator) argument
335 c.ellipse(0, 0, w, h * 0.5);
339 c.moveTo(w * 0.5, h * 0.5);
340 c.lineTo(w * 0.5, h);
356 c.setFontSize(Math.min(w, h) * 0.4);
357 …c.text(w * 0.5, h * 0.25, 0, 0, m, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, 0,…
360 mxShapePidValve.prototype.drawSpringAct = function(c, w, h) argument
364 c.lineTo(w * 0.5, h);
365 c.moveTo(w * 0.32, h * 0.16);
366 c.lineTo(w * 0.68, h * 0.08);
367 c.moveTo(w * 0.21, h * 0.32);
368 c.lineTo(w * 0.79, h * 0.20);
369 c.moveTo(w * 0.1, h * 0.52);
370 c.lineTo(w * 0.9, h * 0.36);
371 c.moveTo(0, h * 0.72);
372 c.lineTo(w, h * 0.5);
376 mxShapePidValve.prototype.drawSolenoidManResetAct = function(c, w, h) argument
378 c.rect(0, 0, w * 0.61, h * 0.46);
382 c.moveTo(w * 0.56, h * 0.6);
383 c.lineTo(w * 0.78, h * 0.5);
384 c.lineTo(w, h * 0.6);
385 c.lineTo(w * 0.78, h * 0.7);
390 c.moveTo(w * 0.305, h * 0.46);
391 c.lineTo(w * 0.305, h);
392 c.moveTo(w * 0.305, h * 0.6);
393 c.lineTo(w * 0.56, h * 0.6);
398 c.setFontSize(Math.min(w, h) * 0.4);
399 …c.text(w * 0.305, h * 0.23, 0, 0, 'S', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null…
402 c.setFontSize(Math.min(w, h) * 0.15);
403 …c.text(w * 0.78, h * 0.6, 0, 0, 'R', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, …
406 mxShapePidValve.prototype.drawSingActingActBg = function(c, w, h) argument
408 c.rect(0, 0, w * 0.46, h * 0.46);
412 c.moveTo(w * 0.23, h * 0.46);
413 c.lineTo(w * 0.23, h);
414 c.moveTo(w * 0.46, h * 0.23);
415 c.lineTo(w, h * 0.23);
416 c.moveTo(w * 0.77, h * 0.15);
417 c.lineTo(w * 0.69, h * 0.31);
418 c.moveTo(w * 0.82, h * 0.15);
419 c.lineTo(w * 0.74, h * 0.31);
423 mxShapePidValve.prototype.drawActingActFg = function(c, w, h) argument
426 c.moveTo(w * 0.23, h * 0.23);
427 c.lineTo(w * 0.23, h * 0.46);
428 c.moveTo(0, h * 0.23);
429 c.lineTo(w * 0.46, h * 0.23);
433 mxShapePidValve.prototype.drawDblActingActBg = function(c, w, h) argument
435 c.rect(0, 0, w * 0.46, h * 0.46);
439 c.moveTo(w * 0.23, h * 0.46);
440 c.lineTo(w * 0.23, h);
441 c.moveTo(w * 0.46, h * 0.115);
442 c.lineTo(w, h * 0.115);
443 c.moveTo(w * 0.77, h * 0.035);
444 c.lineTo(w * 0.69, h * 0.195);
445 c.moveTo(w * 0.82, h * 0.035);
446 c.lineTo(w * 0.74, h * 0.195);
447 c.moveTo(w * 0.46, h * 0.345);
448 c.lineTo(w, h * 0.345);
449 c.moveTo(w * 0.77, h * 0.265);
450 c.lineTo(w * 0.69, h * 0.425);
451 c.moveTo(w * 0.82, h * 0.265);
452 c.lineTo(w * 0.74, h * 0.425);
456 mxShapePidValve.prototype.drawPilotCylinderActBg = function(c, w, h) argument
458 c.rect(0, 0, w * 0.46, h * 0.46);
462 c.moveTo(w * 0.23, h * 0.46);
463 c.lineTo(w * 0.23, h);
464 c.moveTo(w * 0.46, h * 0.23);
465 c.lineTo(w * 0.77, h * 0.23);
468 c.rect(w * 0.77, h * 0.115, w * 0.23, h * 0.23);
473 c.setFontSize(Math.min(w, h) * 0.15);
474 …c.text(w * 0.885, h * 0.23, 0, 0, 'P', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null…
477 mxShapePidValve.prototype.drawAngleBlowdownAct = function(c, w, h) argument
481 c.lineTo(w, h * 0.405);
482 c.moveTo(0, h);
483 c.lineTo(w * 0.665, h * 0.205);
487 mxShapePidValve.prototype.drawSquareAct = function(c, w, h, actuator) argument
489 c.rect(0, 0, w, h * 0.5);
493 c.moveTo(w * 0.5, h * 0.5);
494 c.lineTo(w * 0.5, h);
522 c.setFontSize(Math.min(w, h) * 0.4);
523 …c.text(w * 0.5, h * 0.25, 0, 0, m, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, 0,…
526 mxShapePidValve.prototype.drawGateVariantFg = function(c, x, y, w, h, valveType, actuator, actH) argument
534 c.ellipse(x + w * 0.3, y + actH + (h - actH) * 0.18, w * 0.4, (h - actH) * 0.64);
539 c.ellipse(x + w * 0.3, y + actH + (h - actH) * 0.18, w * 0.4, (h - actH) * 0.64);
546 this.drawPlug(c, x + w * 0.4, y + actH + (h - actH) * 0.25, w * 0.2, (h - actH) * 0.5);
550 this.drawNeedle(c, x + w * 0.45, y + actH + (h - actH) * 0.1, w * 0.1, (h - actH) * 0.9);
554 this.drawDrain(c, x + w * 0.48, y + actH + (h - actH) * 0.5, w * 0.04, (h - actH) * 0.49);
558 mxShapePidValve.prototype.drawAngleVariantFg = function(c, x, y, w, h, valveType, actuator, actH) argument
568 c.ellipse(w * 0.34, h * 0.175, w * 0.32, h * 0.4);
572 c.ellipse(w * 0.34, h * 0.45, w * 0.32, h * 0.2667);
580 mxShapePidValve.prototype.drawGateVariantBg = function(c, x, y, w, h, valveType, actuator, actH) argument
584 this.drawGateValve(c, x, y + actH, w, h - actH);
588 c.ellipse(x + w * 0.3, y + actH + (h - actH) * 0.18, w * 0.4, (h - actH) * 0.64);
590 this.drawGateValve(c, x, y + actH, w, h - actH);
594 this.drawPlug(c, x + w * 0.4, y + actH + (h - actH) * 0.25, w * 0.2, (h - actH) * 0.5);
595 this.drawGateValve(c, x, y + actH, w, h - actH);
599 this.drawNeedle(c, x + w * 0.45, y + actH + (h - actH) * 0.1, w * 0.1, (h - actH) * 0.9);
600 this.drawGateValve(c, x, y + actH, w, h - actH);
604 this.drawDrain(c, x + w * 0.48, y + actH + (h - actH) * 0.5, w * 0.04, (h - actH) * 0.49);
605 this.drawGateValve(c, x, y + actH, w, h - actH);
609 mxShapePidValve.prototype.drawAngleVariantBg = function(c, x, y, w, h, valveType, actuator, actH) argument
613 this.drawAngleValve(c, w * 0.2, y + actH, w * 0.8, h - actH);
617 this.drawAngleGlobeValveBg(c, w * 0.2, y + actH, w * 0.8, h - actH);
621 this.drawThreeWayValve(c, 0, y + actH, w, h - actH);
625 this.drawAngleBlowdownValve(c, x, y + actH, w, h - actH);
629 mxShapePidValve.prototype.drawPlug = function(c, x, y, w, h) argument
633 c.moveTo(0, h * 0.5);
635 c.lineTo(w, h * 0.5);
636 c.lineTo(w * 0.5, h);
642 mxShapePidValve.prototype.drawNeedle = function(c, x, y, w, h) argument
651 c.lineTo(w * 0.5, h);
659 mxShapePidValve.prototype.drawDrain = function(c, x, y, w, h) argument
667 c.lineTo(w * 0.5, h * 0.96);
671 c.moveTo(0, h * 0.9);
672 c.lineTo(w, h * 0.9);
673 c.lineTo(w * 0.5, h);
681 mxShapePidValve.prototype.drawGateValve = function(c, x, y, w, h) argument
690 c.lineTo(w * 0.5, h * 0.5);
691 c.lineTo(0, h);
694 c.lineTo(w * 0.5, h * 0.5);
695 c.lineTo(w, h);
712 mxShapePidValve.prototype.drawAngleValve = function(c, x, y, w, h) argument
717 c.moveTo(w * 0.375, h * 0.375);
719 c.lineTo(w, h * 0.75);
721 c.moveTo(w * 0.375, h * 0.375);
722 c.lineTo(w * 0.75, h);
723 c.lineTo(0, h);
730 mxShapePidValve.prototype.drawAngleGlobeValveBg = function(c, x, y, w, h) argument
734 c.ellipse(w * 0.175, h * 0.175, w * 0.4, h * 0.4);
737 c.moveTo(w * 0.375, h * 0.375);
739 c.lineTo(w, h * 0.75);
741 c.moveTo(w * 0.375, h * 0.375);
742 c.lineTo(w * 0.75, h);
743 c.lineTo(0, h);
749 mxShapePidValve.prototype.drawAngleGlobeValveFg = function(c, x, y, w, h) argument
752 c.ellipse(w * 0.275, h * 0.275, w * 0.2, h * 0.2);
757 mxShapePidValve.prototype.drawThreeWayValve = function(c, x, y, w, h) argument
763 c.lineTo(w * 0.5, h * 0.375);
764 c.lineTo(0, h * 0.75);
768 c.lineTo(w * 0.5, h * 0.375);
769 c.lineTo(w, h * 0.75);
772 c.moveTo(w * 0.5, h * 0.375);
773 c.lineTo(w * 0.8, h);
774 c.lineTo(w * 0.2, h);
781 mxShapePidValve.prototype.drawAngleBlowdownValve = function(c, x, y, w, h) argument
787 mxShapePidValve.prototype.drawButterflyValve = function(c, x, y, w, h, actuator, actH) argument
793 var hv = h - actH;
813 mxShapePidValve.prototype.drawCheckValve = function(c, x, y, w, h, actuator, actH) argument
819 var hv = h - actH;
919 mxShapePidIntBlockBleedValve.prototype.paintVertexShape = function(c, x, y, w, h) argument
926 actH = h * 0.2353;
932 this.background(c, x, y, w, h, actuator, actH);
934 this.foreground(c, x, y, w, h, actuator, actH);
937 mxShapePidIntBlockBleedValve.prototype.background = function(c, x, y, w, h, actuator, actH) argument
942 this.drawActuatorBg(c, x, y, w, h, actuator);
946 this.drawValveBg(c, 0, actH, w, h - actH);
949 mxShapePidIntBlockBleedValve.prototype.foreground = function(c, x, y, w, h, actuator, actH) argument
954 this.drawActuatorFg(c, x, y, w, h, actuator);
958 mxShapePidIntBlockBleedValve.prototype.drawValveBg = function(c, x, y, w, h) argument
966 c.lineTo(w * 0.5, h * 0.23);
967 c.lineTo(0, h * 0.46);
969 c.moveTo(w * 0.5, h * 0.23);
971 c.lineTo(w, h * 0.46);
976 c.moveTo(w * 0.5, h * 0.23);
977 c.lineTo(w * 0.5, h * 0.5);
982 c.moveTo(w * 0.3, h * 0.5);
983 c.lineTo(w * 0.7, h * 0.5);
984 c.lineTo(w * 0.5, h * 0.75);
989 c.moveTo(w * 0.3, h);
990 c.lineTo(w * 0.5, h * 0.75);
991 c.lineTo(w * 0.7, h);
998 mxShapePidIntBlockBleedValve.prototype.drawActuatorBg = function(c, x, y, w, h, actuator) argument
1003 this.drawSquareAct(c, w * 0.35, h * 0.4112, actuator);
1008 c.translate(w * 0.25, h * 0.0882);
1009 this.drawManAct(c, w * 0.5, h * 0.323);
1010 c.translate(- w * 0.25, - h * 0.0882);
1014 c.translate(w * 0.25, h * 0.0588);
1015 this.drawDiaphAct(c, w * 0.5, h * 0.3524);
1016 c.translate(- w * 0.25, - h * 0.0588);
1020 c.translate(w * 0.25, h * 0.0588);
1021 this.drawBalDiaphActBg(c, w * 0.5, h * 0.3524);
1022 c.translate(- w * 0.25, - h * 0.0588);
1027 this.drawCircleAct(c, w * 0.35, h * 0.4112, actuator);
1033 this.drawSpringAct(c, w * 0.28, h * 0.4112);
1039 this.drawSolenoidManResetAct(c, w * 0.575, h * 0.4112);
1045 this.drawSingActingActBg(c, w * 0.65, h * 0.4112);
1051 this.drawDblActingActBg(c, w * 0.65, h * 0.4112);
1057 this.drawPilotCylinderActBg(c, w * 0.65, h * 0.4112);
1062 mxShapePidIntBlockBleedValve.prototype.drawActuatorFg = function(c, x, y, w, h, actuator) argument
1066 c.translate(w * 0.25, h * 0.0588);
1067 this.drawBalDiaphActFg(c, w * 0.5, h * 0.3524);
1068 c.translate(- w * 0.25, - h * 0.0588);
1075 this.drawActingActFg(c, w * 0.65, h * 0.4112);
1108 mxShapePidAutoRecircValve.prototype.paintVertexShape = function(c, x, y, w, h) argument
1114 c.rect(0, 0, w, h);
1120 c.moveTo(w * 0.08, h * 0.08);
1121 c.lineTo(w * 0.08, h * 0.92);
1122 c.moveTo(w * 0.92, h * 0.08);
1123 c.lineTo(w * 0.92, h * 0.92);
1124 c.moveTo(w * 0.12, h * 0.122);
1125 c.lineTo(w * 0.8738, h * 0.8837);
1128 c.lineTo(w * 0.55, h * 0.05);
1129 c.lineTo(w * 0.45, h * 0.15);
1130 c.lineTo(w * 0.55, h * 0.25);
1131 c.lineTo(w * 0.45, h * 0.35);
1132 c.lineTo(w * 0.55, h * 0.45);
1133 c.lineTo(w * 0.49, h * 0.5);
1140 c.moveTo(w * 0.8257, h * 0.7695);
1141 c.lineTo(w * 0.8797, h * 0.888);
1142 c.lineTo(w * 0.79, h * 0.8651);