rem: calcFunctionCurves(courbe); 
add: calcCurves(); 
context: function MyPasteFunction(courbe){	var c, p;	var idx = 0;	var OldNp;	var cp = g["copy"];	// c'est moins long		if (cp.length == 0) {		ejies.error(this, "before pasting, you have to copy something");		return;	}			OldNp = f[front].np;	courbe.np = cp[idx++];	// cration des points s'ils ne sont pas prsents dans la courbe	while (OldNp < courbe.np) {		courbe["pa"][OldNp++] = new Point();	}	// suppression des points n'existant plus dans la courbe	while (OldNp > courbe.np) {		courbe["pa"].splice(--OldNp, 1);	}	courbe.name = cp[idx++];	courbe.domain[0] = cp[idx++];	courbe.domain[1] = cp[idx++];	courbe.range[0] = cp[idx++];	courbe.range[1] = cp[idx++];	courbe.grid_x = cp[idx++];	courbe.grid_y = cp[idx++];	courbe.display = cp[idx++];		for (p = 0; p < courbe.np; p++) {		courbe["pa"][p].x = cp[idx++];		courbe["pa"][p].y = cp[idx++];		courbe["pa"][p].valx = cp[idx++];		courbe["pa"][p].valy = cp[idx++];		courbe["pa"][p].sustain = cp[idx++];		courbe["pa"][p].fix = cp[idx++];		courbe["pa"][p].curve = cp[idx++];	}		MyThings2Zoom(courbe);	pixel2machin(courbe);	calcFunctionCurves(courbe);}
meta: 6421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6421/2ad7940ef82613116b7bd3933d5cb7c1e568caa7/ej.function.js/buggy/ejies-jsui/ej.function.js