rem: for (var i = 0; i < courbe.np; i++) { courbe.pa[i].valx = (courbe.domain[0] + courbe.domain[1]) - courbe.pa[i].valx; courbe.pa[i].x = val2x(courbe, courbe.pa[i].valx); 
add: var tmpX, tmpY, tmpSustain, tmpFix;   for (var i = 0; i < Math.round(courbe.np / 2); i++) { if (i == courbe.np - i - 1) { courbe.pa[i].valx = (courbe.domain[0] + courbe.domain[1]) - courbe.pa[i].valx; courbe.pa[i].x = val2x(courbe, courbe.pa[i].valx); } else { tmpX = courbe.pa[i].valx; tmpY = courbe.pa[i].valy; tmpSustain = courbe.pa[i].sustain; tmpFix = courbe.pa[i].fix;  courbe.pa[i].valx = (courbe.domain[0] + courbe.domain[1]) - courbe.pa[courbe.np - i - 1].valx; courbe.pa[i].x = val2x(courbe, courbe.pa[i].valx); courbe.pa[i].valy = courbe.pa[courbe.np - i - 1].valy; courbe.pa[i].y = val2y(courbe, courbe.pa[i].valy); courbe.pa[i].sustain = courbe.pa[courbe.np - i - 1].sustain; courbe.pa[i].fix = courbe.pa[courbe.np - i - 1].fix;  courbe.pa[courbe.np - i - 1].valx = (courbe.domain[0] + courbe.domain[1]) - tmpX; courbe.pa[courbe.np - i - 1].x = val2x(courbe, courbe.pa[courbe.np - i - 1].valx); courbe.pa[courbe.np - i - 1].valy = tmpY; courbe.pa[courbe.np - i - 1].y = val2y(courbe, tmpY); courbe.pa[courbe.np - i - 1].sustain = tmpSustain; courbe.pa[courbe.np - i - 1].fix = tmpFix; } 
context: function MyFlipX(courbe){	for (var i = 0; i < courbe.np; i++) {		courbe.pa[i].valx = (courbe.domain[0] + courbe.domain[1]) - courbe.pa[i].valx;		courbe.pa[i].x = val2x(courbe, courbe.pa[i].valx);	}	sortingPoints(courbe);	// il faut maintenant remettre tous les points dans l'ordre	ApplyAutoSustain();	askForDrawFunctions();	askForNotify();}
meta: 6421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6421/aabfd42b82581a3089e80b7a5fa1fa63b326cf48/ej.function.js/clean/ejies-jsui/ej.function.js