Lines Matching refs:h

40 mxShapeBootstrapRRect.prototype.paintVertexShape = function(c, x, y, w, h)  argument
45 c.roundrect(0, 0, w, h, rSize);
85 mxShapeBootstrapTopButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
96 c.lineTo(w, h);
97 c.lineTo(0, h);
138 mxShapeBootstrapBottomButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
147 c.lineTo(w, h - rSize);
148 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
149 c.lineTo(rSize, h);
150 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
191 mxShapeBootstrapRightButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
201 c.lineTo(w, h - rSize);
202 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
203 c.lineTo(0, h);
244 mxShapeBootstrapLeftButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
252 c.lineTo(w, h);
253 c.lineTo(rSize, h);
254 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
294 mxShapeBootstrapLeftButtonStriped.prototype.paintVertexShape = function(c, x, y, w, h) argument
301 c.lineTo(w, h);
302 c.lineTo(rSize, h);
303 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
312 var stripeW = h * 0.5;
316 c.moveTo(0, h * 0.75);
317 c.lineTo(0, h * 0.25);
318 c.lineTo(h * 0.75, h);
319 c.lineTo(h * 0.25, h);
340 if (startX + stripeW + h > w)
344 if (w - startX > h)
346 c.lineTo(w, h);
347 c.lineTo(startX + h, h);
356 c.lineTo(startX + stripeW + h, h);
357 c.lineTo(startX + h, h);
406 mxShapeBootstrapRoundedButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
410 if (w > h)
412 var r = h * 0.5;
416 c.arcTo(r, r, 0, 0, 1, w - r, h);
417 c.lineTo(r, h);
427 c.moveTo(0, h - r);
428 c.arcTo(r, r, 0, 0, 0, w, h - r);
469 mxShapeBootstrapArrow.prototype.paintVertexShape = function(c, x, y, w, h) argument
474 c.moveTo(0, h * 0.5);
475 c.lineTo(w, h * 0.5);
477 c.lineTo(w, h * 0.5);
478 c.lineTo(w * 0.9, h);
518 mxShapeBootstrapTabTop.prototype.paintVertexShape = function(c, x, y, w, h) argument
531 c.lineTo(w, h);
532 c.lineTo(0, h);
538 c.moveTo(0, h);
543 c.lineTo(w, h);
583 mxShapeBootstrapImage.prototype.paintVertexShape = function(c, x, y, w, h) argument
595 c.lineTo(w, h - rSize);
596 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
597 c.lineTo(rSize, h);
598 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
605 h = Math.max(0, h - rSize);
612 c.lineTo(w, h - rsHalf);
613 c.arcTo(rsHalf, rsHalf, 0, 0, 1, w - rsHalf, h);
614 c.lineTo(rsHalf, h);
615 c.arcTo(rsHalf, rsHalf, 0, 0, 1, 0, h - rsHalf);
653 mxShapeBootstrapCheckbox.prototype.paintVertexShape = function(c, x, y, w, h) argument
657 c.roundrect(0, 0, w, h, rSize, rSize);
662 c.moveTo(w * 0.8, h * 0.2);
663 c.lineTo(w * 0.4, h * 0.8);
664 c.lineTo(w * 0.25, h * 0.6);
705 mxShapeBootstrapCheckbox2.prototype.paintVertexShape = function(c, x, y, w, h) argument
719 c.roundrect(0, 0, w, h, rSize, rSize);
724 c.moveTo(w * 0.8, h * 0.2);
725 c.lineTo(w * 0.4, h * 0.75);
726 c.lineTo(w * 0.25, h * 0.6);
731 c.roundrect(0, 0, w, h, rSize, rSize);
769 mxShapeBootstrapRadioButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
774 c.ellipse(0, 0, w, h);
778 c.ellipse(w * 0.25, h * 0.25, w * 0.5, h * 0.5);
819 mxShapeBootstrapRadioButton2.prototype.paintVertexShape = function(c, x, y, w, h) argument
832 c.ellipse(0, 0, w, h);
836 c.ellipse(w * 0.2, h * 0.2, w * 0.6, h * 0.6);
841 c.ellipse(0, 0, w, h);
879 mxShapeBootstrapHorLines.prototype.paintVertexShape = function(c, x, y, w, h) argument
883 c.rect(0, 0, w, h);
889 c.moveTo(0, h);
890 c.lineTo(w, h);
927 mxShapeBootstrapUserTwo.prototype.paintVertexShape = function(c, x, y, w, h) argument
932 c.moveTo(0, h * 0.95);
933 c.arcTo(w * 0.3, h * 0.3, 0, 0, 1, w * 0.02, h * 0.87);
934 c.arcTo(w * 0.1, h * 0.1, 0, 0, 1, w * 0.08, h * 0.812);
935 c.arcTo(w * 3, h * 3, 0, 0, 1, w * 0.29, h * 0.732);
936 c.arcTo(w * 0.15, h * 0.15, 0, 0, 0, w * 0.385, h * 0.607);
937 c.arcTo(w * 0.11, h * 0.11, 0, 0, 0, w * 0.355, h * 0.53);
938 c.arcTo(w * 0.3, h * 0.3, 0, 0, 1, w * 0.305, h * 0.44);
939 c.arcTo(w * 0.33, h * 0.38, 0, 0, 1, w * 0.312, h * 0.15);
940 c.arcTo(w * 0.218, h * 0.218 , 0, 0, 1, w * 0.688, h * 0.15);
941 c.arcTo(w * 0.33, h * 0.38, 0, 0, 1, w * 0.693, h * 0.44);
942 c.arcTo(w * 0.25, h * 0.25, 0, 0, 1, w * 0.645, h * 0.53);
943 c.arcTo(w * 0.1, h * 0.1, 0, 0, 0, w * 0.612, h * 0.6);
944 c.arcTo(w * 0.15, h * 0.15, 0, 0, 0, w * 0.7, h * 0.726);
945 c.arcTo(w * 3, h * 3, 0, 0, 1, w * 0.92, h * 0.812);
946 c.arcTo(w * 0.1, h * 0.1, 0, 0, 1, w * 0.97, h * 0.865);
947 c.arcTo(w * 0.2, h * 0.2, 0, 0, 1, w * 0.995, h * 0.952);
999 mxShapeBootstrapRating.prototype.paintVertexShape = function(c, x, y, w, h) argument
1012 c.moveTo(i * h * 1.2, 0.33 * h);
1013 c.lineTo(i * h * 1.2 + 0.364 * h, 0.33 * h);
1014 c.lineTo(i * h * 1.2 + 0.475 * h, 0);
1015 c.lineTo(i * h * 1.2 + 0.586 * h, 0.33 * h);
1016 c.lineTo(i * h * 1.2 + 0.95 * h, 0.33 * h);
1017 c.lineTo(i * h * 1.2 + 0.66 * h, 0.551 * h);
1018 c.lineTo(i * h * 1.2 + 0.775 * h, 0.9 * h);
1019 c.lineTo(i * h * 1.2 + 0.475 * h, 0.684 * h);
1020 c.lineTo(i * h * 1.2 + 0.175 * h, 0.9 * h);
1021 c.lineTo(i * h * 1.2 + 0.29 * h, 0.551 * h);
1031 c.moveTo(i * h * 1.2 + h * 0.519, h * 0.947);
1032 c.curveTo(i * h * 1.2 + h * 0.558, h * 0.908,
1033 i * h * 1.2 + h * 0.778, h * 0.682,
1034 i * h * 1.2 + h * 0.916, h * 0.54);
1035 c.curveTo(i * h * 1.2 + h * 1.039, h * 0.414,
1036 i * h * 1.2 + h * 1.036, h * 0.229,
1037 i * h * 1.2 + h * 0.924, h * 0.115);
1038 c.curveTo(i * h * 1.2 + h * 0.812, 0,
1039 i * h * 1.2 + h * 0.631, 0,
1040 i * h * 1.2 + h * 0.519, h * 0.115);
1041 c.curveTo(i * h * 1.2 + h * 0.408, 0,
1042 i * h * 1.2 + h * 0.227, 0,
1043 i * h * 1.2 + h * 0.115, h * 0.115);
1044 c.curveTo(i * h * 1.2 + h * 0.03, h * 0.229,
1045 i * h * 1.2, h * 0.414,
1046 i * h * 1.2 + h * 0.123, h * 0.54);
1060 c.moveTo(i * h * 1.2, 0.33 * h);
1061 c.lineTo(i * h * 1.2 + 0.364 * h, 0.33 * h);
1062 c.lineTo(i * h * 1.2 + 0.475 * h, 0);
1063 c.lineTo(i * h * 1.2 + 0.586 * h, 0.33 * h);
1064 c.lineTo(i * h * 1.2 + 0.95 * h, 0.33 * h);
1065 c.lineTo(i * h * 1.2 + 0.66 * h, 0.551 * h);
1066 c.lineTo(i * h * 1.2 + 0.775 * h, 0.9 * h);
1067 c.lineTo(i * h * 1.2 + 0.475 * h, 0.684 * h);
1068 c.lineTo(i * h * 1.2 + 0.175 * h, 0.9 * h);
1069 c.lineTo(i * h * 1.2 + 0.29 * h, 0.551 * h);
1079 c.moveTo(i * h * 1.2 + h * 0.519, h * 0.947);
1080 c.curveTo(i * h * 1.2 + h * 0.558, h * 0.908,
1081 i * h * 1.2 + h * 0.778, h * 0.682,
1082 i * h * 1.2 + h * 0.916, h * 0.54);
1083 c.curveTo(i * h * 1.2 + h * 1.039, h * 0.414,
1084 i * h * 1.2 + h * 1.036, h * 0.229,
1085 i * h * 1.2 + h * 0.924, h * 0.115);
1086 c.curveTo(i * h * 1.2 + h * 0.812, 0,
1087 i * h * 1.2 + h * 0.631, 0,
1088 i * h * 1.2 + h * 0.519, h * 0.115);
1089 c.curveTo(i * h * 1.2 + h * 0.408, 0,
1090 i * h * 1.2 + h * 0.227, 0,
1091 i * h * 1.2 + h * 0.115, h * 0.115);
1092 c.curveTo(i * h * 1.2 + h * 0.03, h * 0.229,
1093 i * h * 1.2, h * 0.414,
1094 i * h * 1.2 + h * 0.123, h * 0.54);
1130 mxShapeBoostrapAnchor.prototype.paintVertexShape = function(c, x, y, w, h) argument
1178 mxShapeBootstrapRangeInput.prototype.paintVertexShape = function(c, x, y, w, h) argument
1187 var barH = Math.min(h * 0.5, w * 0.5);
1208 c.setGradient(fillColor, fillColor, 0, 0, w, h, gradientDir, op1, op2);
1210 c.rect(0, h * 0.5 - 2, w, 4);
1216 c.moveTo(0, h * 0.5);
1217 c.arcTo(r, r, 0, 0, 1, r, h * 0.5 - r);
1218 c.lineTo(w - r, h * 0.5 - r);
1219 c.arcTo(r, r, 0, 0, 1, w, h * 0.5);
1220 c.arcTo(r, r, 0, 0, 1, w - r, h * 0.5 + r);
1221 c.lineTo(r, h * 0.5 + r);
1222 c.arcTo(r, r, 0, 0, 1, 0, h * 0.5);
1229 c.setGradient(fillColor, gradientColor, 0, 0, w, h, gradientDir, op1, op2);
1231 var hw = h * 0.5;
1232 c.rect(dx - hw * 0.5, 0, hw, h);
1236 c.moveTo(dx - hw * 0.25, h * 0.3);
1237 c.lineTo(dx + hw * 0.25, h * 0.3);
1238 c.moveTo(dx - hw * 0.25, h * 0.5);
1239 c.lineTo(dx + hw * 0.25, h * 0.5);
1240 c.moveTo(dx - hw * 0.25, h * 0.7);
1241 c.lineTo(dx + hw * 0.25, h * 0.7);
1306 mxShapeBootstrapSwitch.prototype.paintVertexShape = function(c, x, y, w, h) argument
1309 w = Math.max(w, 2 * h);
1311 this.background(c, x, y, w, h, state);
1313 this.foreground(c, x, y, w, h, state);
1316 mxShapeBootstrapSwitch.prototype.background = function(c, x, y, w, h, state) argument
1323 c.roundrect(0, 0, w, h, h * 0.5, h * 0.5);
1328 c.roundrect(0, 0, w, h, h * 0.5, h * 0.5);
1334 mxShapeBootstrapSwitch.prototype.foreground = function(c, x, y, w, h, state) argument
1336 var r = h * 0.8;
1341 c.ellipse(w - h * 0.9, h * 0.1, r, r);
1347 c.ellipse(h * 0.1, h * 0.1, r, r);
1383 mxShapeBootstrapX.prototype.paintVertexShape = function(c, x, y, w, h) argument
1389 c.lineTo(w, h);
1391 c.lineTo(0, h);
1432 mxShapeInfographicPopover.prototype.paintVertexShape = function(c, x, y, w, h) argument
1438 var dy = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'dy', this.dy))));
1447 c.lineTo(w, h - dy - r);
1448 c.arcTo(r, r, 0, 0, 1, w - r, h - dy);
1449 c.lineTo(x2, h - dy);
1450 c.lineTo(dx, h);
1451 c.lineTo(x1, h - dy);
1452 c.lineTo(r, h - dy);
1453 c.arcTo(r, r, 0, 0, 1, 0, h - dy - r);
1481 mxShapeInfographicPopover.prototype.getConstraints = function(style, w, h) argument
1485 var dy = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'dy', this.dy))));
1494 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, (h - dy) * 0.5));
1495 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, w, h - dy));
1496 constr.push(new mxConnectionConstraint(new mxPoint(0.75, 0), false, null, 0, h - dy));
1497 constr.push(new mxConnectionConstraint(new mxPoint(0.25, 0), false, null, 0, h - dy));
1498 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, dx, h));
1499 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, 0, h - dy));