Lines Matching refs:w

35 mxShapeGmdlPlayer.prototype.paintVertexShape = function(c, x, y, w, h)  argument
39 c.rect(0, 0, w, h);
42 this.foreground(c, x, y, w, h);
45 mxShapeGmdlPlayer.prototype.foreground = function(c, x, y, w, h) argument
52 c.rect(0, 0, w * 0.8, 4);
56 if ( h >= 14 && w >= 33)
60 c.rect(w - 33, h * 0.5 - 7, 4, 14);
63 c.rect(w - 25, h * 0.5 - 7, 4, 14);
108 mxShapeGmdlSwitch.prototype.paintVertexShape = function(c, x, y, w, h) argument
113 this.background(c, x, y, w, h, state);
115 this.foreground(c, x, y, w, h, state);
118 mxShapeGmdlSwitch.prototype.background = function(c, x, y, w, h, state) argument
126 c.moveTo(w * 0.135, h * 0.8);
127 c.arcTo(w * 0.135, h * 0.3, 0, 0, 1, w * 0.135, h * 0.2);
128 c.lineTo(w * 0.675, h * 0.2);
129 c.arcTo(w * 0.135, h * 0.3, 0, 0, 1, w * 0.675, h * 0.8);
137 c.moveTo(w * 0.225, h * 0.8);
138 c.arcTo(w * 0.135, h * 0.3, 0, 0, 1, w * 0.225, h * 0.2);
139 c.lineTo(w * 0.865, h * 0.2);
140 c.arcTo(w * 0.135, h * 0.3, 0, 0, 1, w * 0.865, h * 0.8);
147 mxShapeGmdlSwitch.prototype.foreground = function(c, x, y, w, h, state) argument
153 c.ellipse(w * 0.36, 0, w * 0.64, h);
158 c.ellipse(0, 0, w * 0.64, h);
208 mxShapeGmdlMarginRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
212 this.background(c, x, y, w, h);
215 mxShapeGmdlMarginRect.prototype.background = function(c, x, y, w, h, state) argument
225 var w1 = w - marginRight - x1 - margin;
272 mxShapeGmdlSliderNormal.prototype.paintVertexShape = function(c, x, y, w, h) argument
276 this.background(c, x, y, w, h);
280 mxShapeGmdlSliderNormal.prototype.background = function(c, x, y, w, h) argument
289 c.lineTo(w, h * 0.5);
331 mxShapeGmdlSlider2.prototype.paintVertexShape = function(c, x, y, w, h) argument
335 this.background(c, x, y, w, h);
339 mxShapeGmdlSlider2.prototype.background = function(c, x, y, w, h) argument
350 c.lineTo(w, h * 0.5);
356 c.lineTo(barPos * w, h * 0.5);
360 c.ellipse(barPos * w - hSize * 0.5, h * 0.5 - hSize * 0.5, hSize, hSize);
420 mxShapeGmdlSliderFocused.prototype.paintVertexShape = function(c, x, y, w, h) argument
424 this.background(c, x, y, w, h);
428 mxShapeGmdlSliderFocused.prototype.background = function(c, x, y, w, h) argument
440 c.lineTo(w, h * 0.5);
446 c.lineTo(barPos * w, h * 0.5);
450 c.ellipse(barPos * w - hSize * 0.167, h * 0.5 - hSize * 0.167, hSize * 0.33, hSize * 0.33);
456 c.ellipse(barPos * w - hSize * 0.5, h * 0.5 - hSize * 0.5, hSize, hSize);
517 mxShapeGmdlSliderDisabled.prototype.paintVertexShape = function(c, x, y, w, h) argument
520 this.background(c, x, y, w, h);
524 mxShapeGmdlSliderDisabled.prototype.background = function(c, x, y, w, h) argument
532 c.ellipse(w * hPos - hSize * 0.5, (h - hSize) * 0.5, hSize, hSize);
535 var endL = w * hPos - 7;
536 var startR = w * hPos + 7;
546 if (startR < w)
550 c.lineTo(w, h * 0.5);
593 mxShapeGmdlSliderDisabled2.prototype.paintVertexShape = function(c, x, y, w, h) argument
596 this.background(c, x, y, w, h);
600 mxShapeGmdlSliderDisabled2.prototype.background = function(c, x, y, w, h) argument
607 c.ellipse(w * hPos - hSize * 0.5, (h - hSize) * 0.5, hSize, hSize);
610 var endL = w * hPos - 7;
611 var startR = w * hPos + 7;
621 if (startR < w)
625 c.lineTo(w, h * 0.5);
685 mxShapeGmdlSliderDiscrete.prototype.paintVertexShape = function(c, x, y, w, h) argument
689 this.background(c, x, y, w, h);
693 mxShapeGmdlSliderDiscrete.prototype.background = function(c, x, y, w, h) argument
706 c.lineTo(w, h * 0.5 + 22.5);
712 c.lineTo(barPos * w, h * 0.5 + 22.5);
716 c.moveTo(barPos * w, h * 0.5 + 15.5);
717 c.lineTo(barPos * w - 10.5, h * 0.5 + 2.5);
718 c.arcTo(15, 15, 0, 0, 1, barPos * w, h * 0.5 - 22.5);
719 c.arcTo(15, 15, 0, 0, 1, barPos * w + 10.5, h * 0.5 + 2.5);
726 …c.text(barPos * w, h * 0.5 - 9, 0, 0, p.toString() , mxConstants.ALIGN_CENTER, mxConstants.ALIGN_M…
784 mxShapeGmdlSliderDiscreteDots.prototype.paintVertexShape = function(c, x, y, w, h) argument
788 this.background(c, x, y, w, h);
792 mxShapeGmdlSliderDiscreteDots.prototype.background = function(c, x, y, w, h) argument
806 c.lineTo(w, h * 0.5 + 22.5);
818 c.lineTo(barPos * w, h * 0.5 + 22.5);
822 c.moveTo(barPos * w, h * 0.5 + 15.5);
823 c.lineTo(barPos * w - 10.5, h * 0.5 + 2.5);
824 c.arcTo(15, 15, 0, 0, 1, barPos * w, h * 0.5 - 22.5);
825 c.arcTo(15, 15, 0, 0, 1, barPos * w + 10.5, h * 0.5 + 2.5);
841 c.ellipse(w * 0.2 - 1.5, h * 0.5 + 21, 3, 3);
844 c.ellipse(w * 0.4 - 1.5, h * 0.5 + 21, 3, 3);
847 c.ellipse(w * 0.6 - 1.5, h * 0.5 + 21, 3, 3);
850 c.ellipse(w * 0.8 - 1.5, h * 0.5 + 21, 3, 3);
853 c.ellipse(w - 1.5, h * 0.5 + 21, 3, 3);
859 …c.text(barPos * w, h * 0.5 - 9, 0, 0, p.toString() , mxConstants.ALIGN_CENTER, mxConstants.ALIGN_M…
915 mxShapeGmdlProgressBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
917 var dx1 = w * Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx1', this.dx1))));
925 c.lineTo(w , h * 0.5);