Lines Matching refs:h

48 mxShapeMockupMultiButton.prototype.paintVertexShape = function(c, x, y, w, h)  argument
55 this.background(c, x, y, w, h);
58 this.mainText(c, x, y, w, h, mainText, fontSize, fontColor);
59 this.subText(c, x, y, w, h, subText, fontSize / 1.4, fontColor);
62 mxShapeMockupMultiButton.prototype.background = function(c, x, y, w, h) argument
74 c.lineTo(w, h - rSize);
75 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
76 c.lineTo(rSize, h);
77 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
81 c.moveTo(0, h * 0.1);
82 c.arcTo(w * 0.0372, h * 0.1111, 0, 0, 1, w * 0.0334, 0);
84 c.arcTo(w * 0.0722, h * 0.216, 0, 0, 1, w * 0.8014, h * 0.0399);
85 c.lineTo(w * 0.99, h * 0.4585);
86 c.arcTo(w * 0.09, h * 0.1, 0, 0, 1, w * 0.99, h * 0.5415);
87 c.lineTo(w * 0.8014, h * 0.9568);
88 c.arcTo(w * 0.0722, h * 0.216, 0, 0, 1, w * 0.768, h);
89 c.lineTo(w * 0.0334, h);
90 c.arcTo(w * 0.0372, h * 0.1111, 0, 0, 1, 0, h * 0.9);
97 mxShapeMockupMultiButton.prototype.mainText = function(c, x, y, w, h, text, fontSize, fontColor) argument
102 …c.text(w * 0.5, h * 0.4, 0, 0, text, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, …
105 mxShapeMockupMultiButton.prototype.subText = function(c, x, y, w, h, text, fontSize, fontColor) argument
109 …c.text(w * 0.5, h * 0.7, 0, 0, text, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, …
155 mxShapeMockupButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
161 this.background(c, x, y, w, h);
163 this.mainText(c, x, y, w, h, mainText, fontSize, fontColor);
166 mxShapeMockupButton.prototype.background = function(c, x, y, w, h) argument
178 c.lineTo(w, h - rSize);
179 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
180 c.lineTo(rSize, h);
181 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
185 c.moveTo(0, h * 0.1);
186 c.arcTo(w * 0.0372, h * 0.1111, 0, 0, 1, w * 0.0334, 0);
188 c.arcTo(w * 0.0722, h * 0.216, 0, 0, 1, w * 0.8014, h * 0.0399);
189 c.lineTo(w * 0.99, h * 0.4585);
190 c.arcTo(w * 0.09, h * 0.1, 0, 0, 1, w * 0.99, h * 0.5415);
191 c.lineTo(w * 0.8014, h * 0.9568);
192 c.arcTo(w * 0.0722, h * 0.216, 0, 0, 1, w * 0.768, h);
193 c.lineTo(w * 0.0334, h);
194 c.arcTo(w * 0.0372, h * 0.1111, 0, 0, 1, 0, h * 0.9);
201 mxShapeMockupButton.prototype.mainText = function(c, x, y, w, h, text, fontSize, fontColor) argument
207 …c.text(w / 2, h / 2, 0, 0, text, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, 0, 0…
248 mxShapeMockupHorButtonBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
280 var trueH = Math.max(h, fontSize * 1.5, 20);
308 mxShapeMockupHorButtonBar.prototype.background = function(c, w, h, rSize, buttonNum, buttonWidths, … argument
319 c.lineTo(w, h - rSize);
320 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
321 c.lineTo(rSize, h);
322 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
342 c.lineTo(currWidth, h);
368 c.lineTo(buttonRight, h);
369 c.lineTo(rSize, h);
370 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
381 c.lineTo(buttonRight, h - rSize);
382 c.arcTo(rSize, rSize, 0, 0, 1, buttonRight - rSize, h);
383 c.lineTo(buttonLeft, h);
393 c.lineTo(buttonRight, h);
394 c.lineTo(buttonLeft, h);
407 c.lineTo(w, h - rSize);
408 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
409 c.lineTo(rSize, h);
410 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
415 mxShapeMockupHorButtonBar.prototype.buttonText = function(c, w, h, textString, buttonWidth, fontSiz… argument
424 …c.text((w + buttonWidth * 0.5) * trueW / minW, h * 0.5, 0, 0, textString, mxConstants.ALIGN_CENTER…
465 mxShapeMockupVerButtonBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
501 var trueH = Math.max(h, minH);
530 mxShapeMockupVerButtonBar.prototype.background = function(c, w, h, rSize, buttonNum, labelOffset, m… argument
541 c.lineTo(w, h - rSize);
542 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
543 c.lineTo(rSize, h);
544 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
556 var currHeight = i * minButtonHeight * h / minH;
572 var buttonBottom = minButtonHeight * h / minH;
586 var buttonTop = h - minButtonHeight * h / minH;
589 c.lineTo(w, h - rSize);
590 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
591 c.lineTo(rSize, h);
592 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
600 var buttonTop = minButtonHeight * selectedButton * h / minH;
601 var buttonBottom = minButtonHeight * (selectedButton + 1) * h / minH;
618 c.lineTo(w, h - rSize);
619 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
620 c.lineTo(rSize, h);
621 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
626 mxShapeMockupVerButtonBar.prototype.buttonText = function(c, w, h, textString, fontSize) argument
635 …c.text((w * 0.5), h, 0, 0, textString, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null…
682 mxShapeMockupOnOffButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
686 h = Math.max(h, 10);
688 this.background(c, x, y, w, h);
690 this.foreground(c, x, y, w, h);
693 mxShapeMockupOnOffButton.prototype.background = function(c, x, y, w, h) argument
695 c.roundrect(0, 0, w, h, 10, 10);
700 mxShapeMockupOnOffButton.prototype.foreground = function(c, x, y, w, h) argument
712 c.roundrect(0, 0, w * 0.75, h, 10, 10);
717 c.roundrect(w * 0.25, 0, w * 0.75, h, 10, 10);
726 …c.text(w * 0.375, h * 0.5, 0, 0, mainText[0], mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, …
730 …c.text(w * 0.625, h * 0.5, 0, 0, mainText[1], mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, …
770 mxShapeMockupRRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
775 c.roundrect(0, 0, w, h, rSize);
811 mxShapeMockupAnchor.prototype.paintVertexShape = function(c, x, y, w, h) argument
851 mxShapeMockupTopButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
862 c.lineTo(w, h);
863 c.lineTo(0, h);
904 mxShapeMockupBottomButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
913 c.lineTo(w, h - rSize);
914 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
915 c.lineTo(rSize, h);
916 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
957 mxShapeMockupRightButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
967 c.lineTo(w, h - rSize);
968 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
969 c.lineTo(0, h);
1010 mxShapeMockupLeftButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
1018 c.lineTo(w, h);
1019 c.lineTo(rSize, h);
1020 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);