Lines Matching +full:i +full:- +full:mate

2  * $Id: mxBootstrap.js,v 1.0 2014/09/10 07:05:39 mate Exp $
3 * Copyright (c) 2006-2014, JGraph Ltd
94 c.lineTo(w - rSize, 0);
147 c.lineTo(w, h - rSize);
148 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
150 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
199 c.lineTo(w - rSize, 0);
201 c.lineTo(w, h - rSize);
202 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
254 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
303 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
334 c.lineTo(w, w - startX);
342 c.lineTo(w, w - startX - stripeW);
344 if (w - startX > h)
351 c.lineTo(w, w - startX);
415 c.moveTo(w - r, 0);
416 c.arcTo(r, r, 0, 0, 1, w - r, h);
427 c.moveTo(0, h - r);
428 c.arcTo(r, r, 0, 0, 0, w, h - r);
529 c.lineTo(w - rSize, 0);
541 c.lineTo(w - rSize, 0);
593 c.lineTo(w - rSize, 0);
595 c.lineTo(w, h - rSize);
596 c.arcTo(rSize, rSize, 0, 0, 1, w - rSize, h);
598 c.arcTo(rSize, rSize, 0, 0, 1, 0, h - rSize);
604 w = Math.max(0, w - rSize);
605 h = Math.max(0, h - rSize);
610 c.lineTo(w - rsHalf, 0);
612 c.lineTo(w, h - rsHalf);
613 c.arcTo(rsHalf, rsHalf, 0, 0, 1, w - rsHalf, h);
615 c.arcTo(rsHalf, rsHalf, 0, 0, 1, 0, h - rsHalf);
1009 for (var i = 0; i < grade; i++)
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);
1028 for (var i = 0; i < grade; i++)
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);
1057 for (var i = grade; i < ratingScale; i++)
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);
1076 for (var i = grade; i < ratingScale; i++)
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);
1210 c.rect(0, h * 0.5 - 2, w, 4);
1217 c.arcTo(r, r, 0, 0, 1, r, h * 0.5 - r);
1218 c.lineTo(w - r, h * 0.5 - r);
1220 c.arcTo(r, r, 0, 0, 1, w - r, h * 0.5 + r);
1232 c.rect(dx - hw * 0.5, 0, hw, h);
1236 c.moveTo(dx - hw * 0.25, h * 0.3);
1238 c.moveTo(dx - hw * 0.25, h * 0.5);
1240 c.moveTo(dx - hw * 0.25, h * 0.7);
1247 c.ellipse(dx - barH, 0, 2 * barH, 2 * barH);
1265 …this.state.style['dx'] = Math.round(100 * Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.width…
1341 c.ellipse(w - h * 0.9, h * 0.1, r, r);
1440 var x1 = Math.max(dx - dy, 0);
1445 c.lineTo(w - r, 0);
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);
1451 c.lineTo(x1, h - dy);
1452 c.lineTo(r, h - dy);
1453 c.arcTo(r, r, 0, 0, 1, 0, h - dy - r);
1471 return new mxPoint(bounds.x + dx, bounds.y + bounds.height - dy);
1474 …this.state.style['dx'] = Math.round(100 * Math.max(0, Math.min(bounds.width, pt.x - bounds.x))) / …
1475 …'] = Math.round(100 * Math.max(0, Math.min(bounds.height, bounds.y + bounds.height - pt.y))) / 100;
1486 var x1 = Math.max(dx - dy * 0.35, 0);
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));
1499 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, 0, h - dy));